org.exolab.adaptx.net

Class URIException

public final class URIException extends Exception

URIException is used when an error occurs during URI resolving

Version: $Revision: 3633 $

Author: Keith Visco

Constructor Summary
URIException(String message)
Creates a new URIException
URIException(String message, Exception exception)
Creates a new URIException
URIException(Exception exception)
Creates a new URIException
Method Summary
ExceptiongetException()
Returns the nested exception, or null if no exception exists.
voidprintStackTrace()
voidprintStackTrace(PrintStream s)
voidprintStackTrace(PrintWriter s)

Constructor Detail

URIException

public URIException(String message)
Creates a new URIException

Parameters: message the explaination for this exception

URIException

public URIException(String message, Exception exception)
Creates a new URIException

Parameters: message the explaination for this exception exception, an optional nested exception, most likely, the exception which caused this exception.

URIException

public URIException(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 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()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)