Package org.hibernate
Class TransactionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.TransactionException
-
- All Implemented Interfaces:
java.io.Serializable
public class TransactionException extends HibernateException
Indicates that a transaction could not be begun, committed or rolled back.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionException(java.lang.String message)
Constructs a TransactionException using the specified information.TransactionException(java.lang.String message, java.lang.Throwable cause)
Constructs a TransactionException using the specified information.
-
-
-
Constructor Detail
-
TransactionException
public TransactionException(java.lang.String message, java.lang.Throwable cause)
Constructs a TransactionException using the specified information.- Parameters:
message
- The message explaining the exception conditioncause
- The underlying cause
-
TransactionException
public TransactionException(java.lang.String message)
Constructs a TransactionException using the specified information.- Parameters:
message
- The message explaining the exception condition
-
-