|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.exolab.castor.net.URIException
public final class URIException
URIException is used when an error occurs during URI resolving
Constructor Summary | |
---|---|
URIException(java.lang.Exception exception)
Creates a new URIException |
|
URIException(java.lang.String message)
Creates a new URIException |
|
URIException(java.lang.String message,
java.lang.Exception exception)
Creates a new URIException |
Method Summary | |
---|---|
java.lang.Exception |
getException()
Returns the nested exception, or null if no exception exists. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream s)
|
void |
printStackTrace(java.io.PrintWriter s)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public URIException(java.lang.String message)
message
- the explaination for this exceptionpublic URIException(java.lang.String message, java.lang.Exception exception)
message
- the explaination for this exceptionexception,
- an optional nested exception, most
likely, the exception which caused this exception.public URIException(java.lang.Exception exception)
exception
- the exception which caused this exception.
Note: to use this constructor exception must not be null.Method Detail |
---|
public java.lang.Exception getException()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |