public abstract class WrappedException
extends java.lang.Exception
Constructor and Description |
---|
WrappedException(java.lang.String s)
Class constructor that creates a
WrappedException given
a message describing the failure cause |
WrappedException(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 |
WrappedException(java.lang.Throwable t)
Class constructor that creates a
WrappedException given
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 WrappedException(java.lang.String s)
WrappedException
given
a message describing the failure causes
- descriptionpublic WrappedException(java.lang.String s, java.lang.Throwable e)
WrappedException
given
a message describing the failure cause and a root exceptions
- descriptione
- root failure causepublic WrappedException(java.lang.Throwable t)
WrappedException
given
a root exceptiont
- 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 output"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"