org.hibernate.exception
Class NestableRuntimeException
RuntimeException
org.hibernate.exception.NestableRuntimeException
- Nestable
public class NestableRuntimeException
extends RuntimeException
The base class of all runtime exceptions which can contain other
exceptions.
$Id: NestableRuntimeException.java 8137 2005-09-09 15:21:10Z epbernard $org.apache.commons.lang.exception.NestableException
delegate
protected NestableDelegate delegate
The helper instance which contains much of the code which we
delegate to.
NestableRuntimeException
public NestableRuntimeException()
Constructs a new NestableRuntimeException
without specified
detail message.
NestableRuntimeException
public NestableRuntimeException(String msg)
Constructs a new NestableRuntimeException
with specified
detail message.
NestableRuntimeException
public NestableRuntimeException(String msg,
Throwable cause)
Constructs a new NestableRuntimeException
with specified
detail message and nested Throwable
.
msg
- the error messagecause
- the exception or error that caused this exception to be
thrown
NestableRuntimeException
public NestableRuntimeException(Throwable cause)
Constructs a new NestableRuntimeException
with specified
nested Throwable
.
cause
- the exception or error that caused this exception to be
thrown
getMessage
public String getMessage()
Returns the detail message string of this throwable. If it was
created with a null message, returns the following:
( cause==null ? null : cause.toString( ).
- getMessage in interface Nestable
printStackTrace
public void printStackTrace()