程序包 org.hibernate
类 CallbackException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.CallbackException
-
- 所有已实现的接口:
Serializable
public class CallbackException extends HibernateException
Intended to be thrown fromLifecycleandInterceptorcallbacks. 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(Exception cause)Creates a CallbackException using the given underlying cause.CallbackException(String message)Creates a CallbackException using the given message.CallbackException(String message, Exception cause)Creates a CallbackException using the given message and underlying cause.
-
方法概要
-
-
-
构造器详细资料
-
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
-
-