com.jcoverage.util
Class NestedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jcoverage.util.NestedRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CoverageRuntimeException
- public class NestedRuntimeException
- extends java.lang.RuntimeException
J2SE 1.4 introduced a common API to record the fact that one
exception caused another, to access causative exceptions, and to
access the entire "causal chain" as part of the standard stack
backtrace.
This class provides support for such "causal chains" under
earlier JDKs
- See Also:
- Chained Exception,
Serialized Form
Fields inherited from class java.lang.RuntimeException |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
detail
java.lang.Throwable detail
CONTAINED_EXCEPTION
static final java.lang.String CONTAINED_EXCEPTION
- See Also:
- Constant Field Values
NestedRuntimeException
public NestedRuntimeException()
NestedRuntimeException
public NestedRuntimeException(java.lang.String s)
NestedRuntimeException
public NestedRuntimeException(java.lang.String s,
java.lang.Throwable t)
NestedRuntimeException
public NestedRuntimeException(java.lang.Throwable t)
supportChainedException
boolean supportChainedException()
printStackTrace
public void printStackTrace(java.io.PrintStream out)
printStackTrace
public void printStackTrace(java.io.PrintWriter out)
printStackTrace
public void printStackTrace()
toString
public java.lang.String toString()