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
An
IllegalTxnStateException thrown when an operation is executed on a
Txn while the transaction is prepared.- Author:
- Peter Veentjer.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPreparedTxnException(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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PreparedTxnException
Creates a new PreparedTxnException with the provided message.- Parameters:
message- the message of the exception.
-
PreparedTxnException
-