Class IllegalTxnStateException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbortOnlyException, DeadTxnException, PreparedTxnException, ReadonlyException

public class IllegalTxnStateException extends TxnExecutionException
A TxnExecutionException thrown when an operation is executed on a Txn when it is not in a valid state for that operation.
See Also:
  • Field Details

  • Constructor Details

    • IllegalTxnStateException

      public IllegalTxnStateException()
      Creates a new IllegalTxnStateException.
    • IllegalTxnStateException

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

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