Package org.exolab.castor.net
Class URIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.castor.net.URIException
- All Implemented Interfaces:
Serializable
URIException is used when an error occurs during URI resolving
- Version:
- $Revision$
- Author:
- Keith Visco
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionURIException
(Exception exception) Creates a new URIExceptionURIException
(String message) Creates a new URIExceptionURIException
(String message, Exception exception) Creates a new URIException -
Method Summary
Modifier and TypeMethodDescriptionReturns the nested exception, or null if no exception exists.void
void
void
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
URIException
Creates a new URIException- Parameters:
message
- the explaination for this exception
-
URIException
-
URIException
Creates a new URIException- Parameters:
exception
- the exception which caused this exception. Note: to use this constructor exception must not be null.
-
-
Method Details
-
getException
Returns the nested exception, or null if no exception exists.- Returns:
- the nested exception, or null if no exception exists
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-