public class WrappingRuntimeException
extends java.lang.RuntimeException
Constructor and Description |
---|
WrappingRuntimeException(java.lang.Exception ex)
Initialize the new instance with default values.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Exception |
getException() |
void |
printStackTrace()
Print the stack trace of the wrapped exception to stdout
|
void |
printStackTrace(java.io.PrintStream stream)
Print the stack trace of the wrapped exception to the given stream
|
void |
printStackTrace(java.io.PrintWriter writer)
Print the stack trace of the wrapped exception to the given writer
|
protected void |
setException(java.lang.Exception newValue) |
java.lang.String |
toString()
Returns the string representation of the wrapped exception
|
public WrappingRuntimeException(java.lang.Exception ex)
public java.lang.String toString()
toString
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream stream)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter writer)
printStackTrace
in class java.lang.Throwable
protected java.lang.Exception getException()
protected void setException(java.lang.Exception newValue)