public class IllegalTxnStateException extends TxnExecutionException
TxnExecutionException
thrown when an operation is executed on a
Txn
when it is not in a valid state for that operation.Constructor and Description |
---|
IllegalTxnStateException()
Creates a new IllegalTxnStateException.
|
IllegalTxnStateException(java.lang.String message)
Creates a new IllegalTxnStateException with the provided message.
|
IllegalTxnStateException(java.lang.String message,
java.lang.Throwable cause)
Creates a new IllegalTxnStateException with the provided message and cause.
|
public IllegalTxnStateException()
public IllegalTxnStateException(java.lang.String message)
message
- the message of the exception.public IllegalTxnStateException(java.lang.String message, java.lang.Throwable cause)
message
- the message of the exception.cause
- the cause of the exception.