| |
|
| java.lang.Object java.lang.Throwable java.lang.Error org.apache.commons.lang.exception.NestableError
Field Summary | |
protected NestableDelegate | delegate The helper instance which contains much of the code which we
delegate to. |
Constructor Summary | |
public | NestableError() Constructs a new NestableError without specified
detail message. | public | NestableError(String msg) Constructs a new NestableError with specified
detail message. | public | NestableError(Throwable cause) Constructs a new NestableError with specified
nested Throwable . | public | NestableError(String msg, Throwable cause) Constructs a new NestableError with specified
detail message and nested Throwable . |
delegate | protected NestableDelegate delegate(Code) | | The helper instance which contains much of the code which we
delegate to.
|
NestableError | public NestableError()(Code) | | Constructs a new NestableError without specified
detail message.
|
NestableError | public NestableError(String msg)(Code) | | Constructs a new NestableError with specified
detail message.
Parameters: msg - The error message. |
NestableError | public NestableError(Throwable cause)(Code) | | Constructs a new NestableError with specified
nested Throwable .
Parameters: cause - the exception or error that caused this exception to bethrown |
NestableError | public NestableError(String msg, Throwable cause)(Code) | | Constructs a new NestableError with specified
detail message and nested Throwable .
Parameters: msg - the error message Parameters: cause - the exception or error that caused this exception to bethrown |
getMessage | public String getMessage()(Code) | | Returns the detail message string of this throwable. If it was
created with a null message, returns the following:
(cause==null ? null : cause.toString()).
String message string of the throwable |
getThrowableCount | public int getThrowableCount()(Code) | | |
indexOfThrowable | public int indexOfThrowable(Class type)(Code) | | |
indexOfThrowable | public int indexOfThrowable(Class type, int fromIndex)(Code) | | |
printPartialStackTrace | final public void printPartialStackTrace(PrintWriter out)(Code) | | |
printStackTrace | public void printStackTrace()(Code) | | |
|
|
|