Class PostTransactionOperationException

All Implemented Interfaces:
Serializable

@NotThreadSafe public class PostTransactionOperationException extends RuntimeException
Thrown when a post-transaction operation fails.

The getTransactionResult() value describes how the transaction completed before the post-transaction operation failed. For example, TransactionResult.COMMITTED means the transaction commit completed successfully, even though a post-transaction operation failed afterwards.

Since:
4.2.0
Author:
Mark Allen
See Also:
  • Constructor Details

    • PostTransactionOperationException

      public PostTransactionOperationException(@NonNull TransactionResult transactionResult, @NonNull Throwable cause)
      Creates a PostTransactionOperationException for a failed post-transaction operation.
      Parameters:
      transactionResult - the transaction result supplied to the failed post-transaction operation
      cause - the post-transaction operation failure
  • Method Details