Class PreparedTxnException

All Implemented Interfaces:
Serializable

public class PreparedTxnException extends IllegalTxnStateException
An IllegalTxnStateException thrown when an operation is executed on a Txn while the transaction is prepared.
See Also:
  • Field Details

  • Constructor Details

    • PreparedTxnException

      public PreparedTxnException(String message)
      Creates a new PreparedTxnException with the provided message.
      Parameters:
      message - the message of the exception.
    • PreparedTxnException

      public PreparedTxnException(String message, Throwable cause)
      Creates a new PreparedTxnException with the provided message and cause.
      Parameters:
      message - the message of the exception.
      cause - the cause of the exception.