org.exolab.adaptx.util
public class NestedRuntimeException extends RuntimeException
Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $
Constructor Summary | |
---|---|
NestedRuntimeException(String message)
Creates a new NestedRuntimeException with the given message
| |
NestedRuntimeException(String message, Exception exception)
Creates a new NestedRuntimeException with the given message
and exception.
| |
NestedRuntimeException(Exception exception)
Creates a new NestedRuntimeException with the given exception.
|
Method Summary | |
---|---|
Exception | getException()
Returns the nested exception for this NestedRuntimeException.
|
void | printStackTrace()
Prints the stack trace for this exception
|
void | printStackTrace(PrintStream stream)
Prints the stack trace for this exception
|
void | printStackTrace(PrintWriter writer)
Prints the stack trace for this exception
|
Parameters: message the error message for this NestedRuntimeException
Parameters: message the error message for this NestedRuntimeException exception the Exception which caused the error.
Parameters: exception the Exception which caused the error.
Returns: the nested exception, or null if no nested exception exists.
Parameters: stream the PrintStream to print the stack trace to.
Parameters: writer the PrintWriter to print the stack trace to.