Package org.hibernate

Class TransactionException

java.lang.Object
java.lang.Throwable
All Implemented Interfaces:
Serializable

public classTransactionExceptionextendsHibernateException
Indicates that a transaction could not be begun, committed or rolled back.
See Also:
  • Constructor Details

    • TransactionException

      public TransactionException(String message,Throwable cause)
      Constructs aTransactionException using the specified information.
      Parameters:
      message - The message explaining the exception condition
      cause - The underlying cause
    • TransactionException

      public TransactionException(String message)
      Constructs aTransactionException using the specified information.
      Parameters:
      message - The message explaining the exception condition