Top Description Constructors
org.hibernate

public Class CallbackException

extends HibernateException
Class Inheritance

Intended to be thrown from org.hibernate.classic.Lifecycle and Interceptor callbacks.

IMPL NOTE : This is a legacy exception type from back in the day before Hibernate moved to a untyped (runtime) exception strategy.

Author
Gavin King

Constructor Summary

AccessConstructor and Description
public
CallbackException(Exception
The underlying cause
cause
)

Creates a CallbackException using the given underlying cause.

public
CallbackException(String
The message explaining the reason for the exception
message
)

Creates a CallbackException using the given message.

public
CallbackException(String
The message explaining the reason for the exception
message
,
Exception
The underlying cause
cause
)

Creates a CallbackException using the given message and underlying cause.

Constructor Detail

CallbackExceptionback to summary
public CallbackException(Exception cause)

Creates a CallbackException using the given underlying cause.

Parameters
cause:Exception

The underlying cause

CallbackExceptionback to summary
public CallbackException(String message)

Creates a CallbackException using the given message.

Parameters
message:String

The message explaining the reason for the exception

CallbackExceptionback to summary
public CallbackException(String message, Exception cause)

Creates a CallbackException using the given message and underlying cause.

Parameters
message:String

The message explaining the reason for the exception

cause:Exception

The underlying cause