|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tangosol.util.WrapperException
public class WrapperException
A WrapperException wraps a Throwable object as a RuntimeException.
CheckedWrapperException
Constructor Summary | |
---|---|
WrapperException(String s)
Construct a WrapperException with a specified detail message. |
|
WrapperException(Throwable e)
Construct a WrapperException from a Throwable object. |
|
WrapperException(Throwable e,
String s)
Construct a WrapperException from a Throwable object and an additional description. |
Method Summary | |
---|---|
String |
getLocalizedMessage()
Creates a localized description of this WrapperException . |
String |
getMessage()
Returns the error message string of this WrapperException object. |
Throwable |
getOriginalException()
|
String |
getWrapper()
|
void |
printStackTrace()
Prints this WrapperException and its backtrace to the
standard error stream. |
void |
printStackTrace(PrintStream stream)
Prints this WrapperException and its backtrace to the
specified print stream. |
void |
printStackTrace(PrintWriter writer)
Prints this WrapperException and its backtrace
to the specified print writer. |
String |
toString()
Returns a short description of this WrapperException object. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace |
Constructor Detail |
---|
public WrapperException(Throwable e, String s)
e
- the Throwable objects
- the additional descriptionpublic WrapperException(Throwable e)
e
- the Throwable objectpublic WrapperException(String s)
s
- the String that contains a detailed messageMethod Detail |
---|
public Throwable getOriginalException()
public String getWrapper()
public String getMessage()
getMessage
in class Throwable
WrapperException
public String getLocalizedMessage()
WrapperException
.
Subclasses may override this method in order to produce a
locale-specific message. For subclasses that do not override this
method, the default implementation returns the same result as
getMessage()
.
getLocalizedMessage
in class Throwable
WrapperException
.public String toString()
toString
in class Throwable
WrapperException
.public void printStackTrace()
WrapperException
and its backtrace to the
standard error stream.
printStackTrace
in class Throwable
public void printStackTrace(PrintStream stream)
WrapperException
and its backtrace to the
specified print stream.
printStackTrace
in class Throwable
stream
- PrintStream
to use for outputpublic void printStackTrace(PrintWriter writer)
WrapperException
and its backtrace
to the specified print writer.
printStackTrace
in class Throwable
writer
- PrintWriter
to use for output
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |