public abstract class WrappedException extends Exception
| Constructor and Description |
|---|
WrappedException(String s)
Class constructor that creates a
WrappedException given
a message describing the failure cause |
WrappedException(String s,
Throwable e)
Class constructor that creates a
WrappedException given
a message describing the failure cause and a root exception |
WrappedException(Throwable t)
Class constructor that creates a
WrappedException given
a root exception |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns the error message string of this exception.
|
Throwable |
getRootException()
Returns the root exception of this exception.
|
void |
printStackTrace()
Prints this
WrappedException and its backtrace to the
standard error stream. |
void |
printStackTrace(PrintStream s)
Prints this
WrappedException and its backtrace to the
specified print stream. |
void |
printStackTrace(PrintWriter s)
Prints this
WrappedException and its backtrace to
the specified print writer. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic WrappedException(String s)
WrappedException given
a message describing the failure causes - descriptionpublic WrappedException(String s, Throwable e)
WrappedException given
a message describing the failure cause and a root exceptions - descriptione - root failure causepublic WrappedException(Throwable t)
WrappedException given
a root exceptiont - root failure causepublic String getMessage()
getMessage in class Throwablepublic Throwable getRootException()
public void printStackTrace()
WrappedException and its backtrace to the
standard error stream.printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
WrappedException and its backtrace to the
specified print stream.printStackTrace in class Throwables - PrintStream to use for outputpublic void printStackTrace(PrintWriter s)
WrappedException and its backtrace to
the specified print writer.printStackTrace in class Throwables - PrintWriter to use for outputCopyright © 2010 - 2020 Adobe. All Rights Reserved