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:
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(String message)
Creates a new PreparedTxnException with the provided message.PreparedTxnException(String message, Throwable cause)
Creates a new PreparedTxnException with the provided message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PreparedTxnException
public PreparedTxnException(String message)
Creates a new PreparedTxnException with the provided message.- Parameters:
message
- the message of the exception.
-
-