public abstract class WrappedRuntimeException
extends java.lang.RuntimeException
Constructor and Description |
---|
WrappedRuntimeException(java.lang.Exception e)
Class constructor that creates a
WrappedException given
a root exception |
WrappedRuntimeException(java.lang.String s)
Class constructor that creates a
WrappedException given
a message describing the failure cause |
WrappedRuntimeException(java.lang.String s,
java.lang.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 |
---|---|
java.lang.String |
getMessage()
Returns the error message string of this exception.
|
java.lang.Throwable |
getRootException()
Returns the root exception of this exception.
|
void |
printStackTrace()
Prints this
WrappedException and its backtrace to the
standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this
WrappedException and its backtrace to the
specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints this
WrappedException and its backtrace to
the specified print writer. |
public WrappedRuntimeException(java.lang.String s)
WrappedException
given
a message describing the failure causes
- descriptionpublic WrappedRuntimeException(java.lang.String s, java.lang.Throwable e)
WrappedException
given
a message describing the failure cause and a root exceptions
- descriptione
- root failure causepublic WrappedRuntimeException(java.lang.Exception e)
WrappedException
given
a root exceptione
- root failure causepublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.Throwable getRootException()
public void printStackTrace()
WrappedException
and its backtrace to the
standard error stream.printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
WrappedException
and its backtrace to the
specified print stream.printStackTrace
in class java.lang.Throwable
s
- PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter s)
WrappedException
and its backtrace to
the specified print writer.printStackTrace
in class java.lang.Throwable
s
- PrintWriter
to use for outputCopyright © 2010 - 2020 Adobe. All Rights Reserved