public class PreparedTxnException extends IllegalTxnStateException
IllegalTxnStateException
thrown when an operation is executed on a
Txn
while the transaction is prepared.Constructor and Description |
---|
PreparedTxnException(java.lang.String message)
Creates a new PreparedTxnException with the provided message.
|
PreparedTxnException(java.lang.String message,
java.lang.Throwable cause)
Creates a new PreparedTxnException with the provided message and cause.
|
public PreparedTxnException(java.lang.String message)
message
- the message of the exception.public PreparedTxnException(java.lang.String message, java.lang.Throwable cause)
message
- the message of the exception.cause
- the cause of the exception.