Package org.multiverse.api.exceptions
Class PreparedTxnException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.multiverse.api.exceptions.TxnExecutionException
-
- org.multiverse.api.exceptions.IllegalTxnStateException
-
- org.multiverse.api.exceptions.PreparedTxnException
-
- All Implemented Interfaces:
java.io.Serializable
public class PreparedTxnException extends IllegalTxnStateException
AnIllegalTxnStateException
thrown when an operation is executed on aTxn
while the transaction is prepared.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
-
-
Constructor Detail
-
PreparedTxnException
public PreparedTxnException(java.lang.String message)
Creates a new PreparedTxnException with the provided message.- Parameters:
message
- the message of the exception.
-
PreparedTxnException
public PreparedTxnException(java.lang.String message, java.lang.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.
-
-