Package org.exolab.adaptx.net
Class URIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.exolab.adaptx.net.URIException
-
- All Implemented Interfaces:
java.io.Serializable
public final class URIException extends java.lang.ExceptionURIException is used when an error occurs during URI resolving- Version:
- $Revision: 3633 $
- Author:
- Keith Visco
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description URIException(java.lang.Exception exception)Creates a new URIExceptionURIException(java.lang.String message)Creates a new URIExceptionURIException(java.lang.String message, java.lang.Exception exception)Creates a new URIException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ExceptiongetException()Returns the nested exception, or null if no exception exists.voidprintStackTrace()voidprintStackTrace(java.io.PrintStream s)voidprintStackTrace(java.io.PrintWriter s)
-
-
-
Constructor Detail
-
URIException
public URIException(java.lang.String message)
Creates a new URIException- Parameters:
message- the explaination for this exception
-
URIException
public URIException(java.lang.String message, java.lang.Exception exception)Creates a new URIException- Parameters:
message- the explaination for this exceptionexception- , an optional nested exception, most likely, the exception which caused this exception.
-
URIException
public URIException(java.lang.Exception exception)
Creates a new URIException- Parameters:
exception- the exception which caused this exception. Note: to use this constructor exception must not be null.
-
-
Method Detail
-
getException
public java.lang.Exception 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:
printStackTracein classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTracein classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTracein classjava.lang.Throwable
-
-