程序包 org.hibernate

类 CallbackException

  • 所有已实现的接口:
    Serializable

    public class CallbackException
    extends HibernateException
    Intended to be thrown from 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.

    作者:
    Gavin King
    另请参阅:
    序列化表格
    • 构造器详细资料

      • CallbackException

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

        public CallbackException​(String message)
        Creates a CallbackException using the given message.
        参数:
        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.
        参数:
        message - The message explaining the reason for the exception
        cause - The underlying cause