public abstract class WrappedRuntimeException extends RuntimeException
| Constructor and Description |
|---|
WrappedRuntimeException(Exception e)
Class constructor that creates a
WrappedException given
a root exception |
WrappedRuntimeException(String s)
Class constructor that creates a
WrappedException given
a message describing the failure cause |
WrappedRuntimeException(String s,
Throwable e)
Class constructor that creates a
WrappedException given
a message describing the failure cause and 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 WrappedRuntimeException(String s)
WrappedException given
a message describing the failure causes - descriptionpublic WrappedRuntimeException(String s, Throwable e)
WrappedException given
a message describing the failure cause and a root exceptions - descriptione - root failure causepublic WrappedRuntimeException(Exception e)
WrappedException given
a root exceptione - 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