org.apache.commons.lang.exception
public class NestableRuntimeException extends RuntimeException implements Nestable
Since: 1.0
Version: $Id: NestableRuntimeException.java 512889 2007-02-28 18:18:20Z dlr $
See Also: NestableException
Field Summary | |
---|---|
protected NestableDelegate | delegate
The helper instance which contains much of the code which we
delegate to. |
Constructor Summary | |
---|---|
NestableRuntimeException()
Constructs a new NestableRuntimeException without specified
detail message. | |
NestableRuntimeException(String msg)
Constructs a new NestableRuntimeException with specified
detail message.
| |
NestableRuntimeException(Throwable cause)
Constructs a new NestableRuntimeException with specified
nested Throwable .
| |
NestableRuntimeException(String msg, Throwable cause)
Constructs a new NestableRuntimeException with specified
detail message and nested Throwable .
|
Method Summary | |
---|---|
Throwable | getCause() |
String | getMessage()
Returns the detail message string of this throwable. |
String | getMessage(int index) |
String[] | getMessages() |
Throwable | getThrowable(int index) |
int | getThrowableCount() |
Throwable[] | getThrowables() |
int | indexOfThrowable(Class type) |
int | indexOfThrowable(Class type, int fromIndex) |
void | printPartialStackTrace(PrintWriter out) |
void | printStackTrace() |
void | printStackTrace(PrintStream out) |
void | printStackTrace(PrintWriter out) |
NestableRuntimeException
without specified
detail message.NestableRuntimeException
with specified
detail message.
Parameters: msg the error message
NestableRuntimeException
with specified
nested Throwable
.
Parameters: cause the exception or error that caused this exception to be thrown
NestableRuntimeException
with specified
detail message and nested Throwable
.
Parameters: msg the error message cause the exception or error that caused this exception to be thrown
Returns: String message string of the throwable