Package org.multiverse.api.exceptions
Class TxnExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.multiverse.api.exceptions.TxnExecutionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AtomicOperationException
,IllegalCommuteException
,IllegalTxnStateException
,PropagationException
,RetryException
,StmMismatchException
A
RuntimeException
thrown when something fails while executing a Txn
.
This exception is not caught by the TxnExecutor
.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new TransactionalExecutionException.TxnExecutionException
(String message) Creates a new TransactionalExecutionException with the provided message and cause.TxnExecutionException
(String message, Throwable cause) Creates a new TransactionalExecutionException with the provided message and cause.TxnExecutionException
(Throwable cause) Creates a new TransactionalExecutionException with the provided cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
TxnExecutionException
public TxnExecutionException()Creates a new TransactionalExecutionException. -
TxnExecutionException
Creates a new TransactionalExecutionException with the provided message and cause.- Parameters:
message
- message of the exception.
-
TxnExecutionException
Creates a new TransactionalExecutionException with the provided message and cause.- Parameters:
message
- the message of the exception.cause
- the Throwable that caused the exception.
-
TxnExecutionException
Creates a new TransactionalExecutionException with the provided cause.- Parameters:
cause
- the Throwable that was the cause of this TransactionalExecutionException.
-