org.backsource.utils.resource
Class MalformedURIException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.net.MalformedURLException
                  extended byorg.backsource.utils.resource.MalformedURIException
All Implemented Interfaces:
java.io.Serializable

public class MalformedURIException
extends java.net.MalformedURLException

Thrown when URI is now wellformed.

Extends MalformedURLException altough the reverse should actually be the case. But extending MalformedURLException makes conging a little bit easier:

 try {
   URI uri = new URI("/WEB-INF/my.res");
   URL url = uri.getURL();
 }catch(MalformedURLException ex) {
 // do something with ex.
  }

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman
See Also:
Serialized Form

Constructor Summary
MalformedURIException()
          Constructs a MalformedURIException with no specified detail message.
MalformedURIException(java.lang.String p_msg)
          Constructs a MalformedURIException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MalformedURIException

public MalformedURIException()
Constructs a MalformedURIException with no specified detail message.


MalformedURIException

public MalformedURIException(java.lang.String p_msg)
Constructs a MalformedURIException with the specified detail message.

Parameters:
p_msg - the detail message.


Copyright © 2000-2004 Backsource. All Rights Reserved.