| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.hibernate.exception.NestableRuntimeException
All known Subclasses: org.hibernate.HibernateException, org.hibernate.AssertionFailure,
NestableRuntimeException | public class NestableRuntimeException extends RuntimeException implements Nestable(Code) | | The base class of all runtime exceptions which can contain other
exceptions.
author: Rafal Krzewski author: Daniel Rall author: Kasper Nielsen author: Steven Caswell version: $Id: NestableRuntimeException.java 8137 2005-09-09 15:21:10Z epbernard $ See Also: org.apache.commons.lang.exception.NestableException since: 1.0 |
Field Summary | |
protected NestableDelegate | delegate The helper instance which contains much of the code which we
delegate to. |
delegate | protected NestableDelegate delegate(Code) | | The helper instance which contains much of the code which we
delegate to.
|
NestableRuntimeException | public NestableRuntimeException()(Code) | | Constructs a new NestableRuntimeException without specified
detail message.
|
NestableRuntimeException | public NestableRuntimeException(String msg)(Code) | | Constructs a new NestableRuntimeException with specified
detail message.
Parameters: msg - the error message |
NestableRuntimeException | public NestableRuntimeException(Throwable cause)(Code) | | Constructs a new NestableRuntimeException with specified
nested Throwable .
Parameters: cause - the exception or error that caused this exception to bethrown |
NestableRuntimeException | public NestableRuntimeException(String msg, Throwable cause)(Code) | | Constructs a new NestableRuntimeException 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( ).
|
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) | | |
|
|
|