Class CommitFailedException

All Implemented Interfaces:
Serializable

public class CommitFailedException extends TransactionException
Signals that a commit failed after the transaction began its host work.

The failure is typed for caller diagnostics; it does not expose a host object or authorize a retry.

See Also:
  • Constructor Details

    • CommitFailedException

      public CommitFailedException(String transactionId, String message)
      Creates this typed transaction diagnostic.
      Parameters:
      transactionId - the diagnostic value for this exception
      message - the diagnostic value for this exception
    • CommitFailedException

      public CommitFailedException(String transactionId, String message, Throwable cause)
      Creates this typed transaction diagnostic with the originating cause.
      Parameters:
      transactionId - the transaction identity
      message - the diagnostic message
      cause - the originating failure