Package org.multiverse.api.exceptions
Class AbortOnlyException
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.AbortOnlyException
- All Implemented Interfaces:
Serializable
An
IllegalTxnStateException
thrown when a Txn
is configured
as abort only and a prepare/commit is executed.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbortOnlyException
(String message) Creates a new AbortOnlyException with the provided message.AbortOnlyException
(String message, Throwable cause) Creates a new AbortOnlyException 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
AbortOnlyException
Creates a new AbortOnlyException with the provided message.- Parameters:
message
- the message.
-
AbortOnlyException
Creates a new AbortOnlyException with the provided message and cause.- Parameters:
message
- the messagecause
- the cause.
-