public class ChainingRuntimeException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
protected java.lang.Throwable |
cause
Causing throwable.
|
Constructor and Description |
---|
ChainingRuntimeException()
Creates a new ChainingRuntimeException object.
|
ChainingRuntimeException(java.lang.String message)
Creates a new ChainingRuntimeException object.
|
ChainingRuntimeException(java.lang.String message,
java.lang.Throwable cause)
Creates a new ChainingRuntimeException object.
|
ChainingRuntimeException(java.lang.Throwable cause)
Creates a new ChainingRuntimeException object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause()
Returns the causing throwable.
|
void |
printStackTrace()
Prints this
Throwable (the cause if available) and its backtrace to
the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this
Throwable (the cause if available) and its backtrace to
the specified print writer. |
void |
printStackTrace(java.io.PrintWriter writer)
Prints this
Throwable (the cause if available) and its backtrace to
the specified print writer. |
public ChainingRuntimeException()
public ChainingRuntimeException(java.lang.String message)
message
- error message.public ChainingRuntimeException(java.lang.String message, java.lang.Throwable cause)
message
- error message.cause
- throwable which caused the error.public ChainingRuntimeException(java.lang.Throwable cause)
cause
- throwable which caused the error.public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter writer)
Throwable
(the cause if available) and its backtrace to
the specified print writer.printStackTrace
in class java.lang.Throwable
writer
- writer to use for output.public void printStackTrace(java.io.PrintStream s)
Throwable
(the cause if available) and its backtrace to
the specified print writer.printStackTrace
in class java.lang.Throwable
s
- stream to use for output.public void printStackTrace()
Throwable
(the cause if available) and its backtrace to
the standard error stream.printStackTrace
in class java.lang.Throwable
Submit a bug or feature.
For further information and documentation, visit the official Jalopy website.
This page generated: March 30 2013