Class TransactionFailureException

All Implemented Interfaces:
Serializable

public class TransactionFailureException extends OperationalException
An error occurred within a transactional element while committing a transaction. It isn't known what transactional element caused the failure.
See Also:
  • Constructor Details

    • TransactionFailureException

      public TransactionFailureException(String msg)
      Constructs a TransactionFailureException with the specified detail message. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
    • TransactionFailureException

      public TransactionFailureException(String msg, Throwable t)
      Constructs a TransactionFailureException with the specified detail message and cause. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
      t - the cause of the exception
    • TransactionFailureException

      public TransactionFailureException(Throwable t)
      Constructs a TransactionFailureException with the specified cause and a detail message of cause.toString() which typically contains the class and detail message of cause.
      Parameters:
      t - the cause of the exception