Package org.hibernate

Class CallbackException

All Implemented Interfaces:
Serializable

public class CallbackException extends HibernateException
Intended to be thrown from Lifecycle and Interceptor callbacks.
See Also:
Implementation Note:
This is a legacy exception type from back in the day before Hibernate moved to an unchecked exception strategy.
  • Constructor Details

    • CallbackException

      public CallbackException(Exception cause)
      Creates a CallbackException using the given underlying cause.
      Parameters:
      cause - The underlying cause
    • CallbackException

      public CallbackException(String message)
      Creates a CallbackException using the given message.
      Parameters:
      message - The message explaining the reason for the exception
    • CallbackException

      public CallbackException(String message, Exception cause)
      Creates a CallbackException using the given message and underlying cause.
      Parameters:
      message - The message explaining the reason for the exception
      cause - The underlying cause