public final class URIException extends Exception
| Constructor and Description |
|---|
URIException(Exception exception)
Creates a new URIException
|
URIException(String message)
Creates a new URIException
|
URIException(String message,
Exception exception)
Creates a new URIException
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
getException()
Returns the nested exception, or null if no exception exists.
|
void |
printStackTrace() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic URIException(String message)
message - the explaination for this exceptionpublic URIException(String message, Exception exception)
message - the explaination for this exceptionexception - an optional nested exception, most likely, the exception which caused this
exception.public URIException(Exception exception)
exception - the exception which caused this exception. Note: to use this constructor
exception must not be null.public Exception getException()
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace in class ThrowableCopyright © 2016. All rights reserved.