程序包 org.hibernate
类 TransactionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.TransactionException
-
- 所有已实现的接口:
Serializable
public class TransactionException extends HibernateException
Indicates that a transaction could not be begun, committed or rolled back.- 作者:
- Anton van Straaten
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 TransactionException(String message)Constructs a TransactionException using the specified information.TransactionException(String message, Throwable cause)Constructs a TransactionException using the specified information.
-
方法概要
-
-
-
构造器详细资料
-
TransactionException
public TransactionException(String message, Throwable cause)
Constructs a TransactionException using the specified information.- 参数:
message- The message explaining the exception conditioncause- The underlying cause
-
TransactionException
public TransactionException(String message)
Constructs a TransactionException using the specified information.- 参数:
message- The message explaining the exception condition
-
-