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:
java.io.Serializable
public class AbortOnlyException extends IllegalTxnStateException
AnIllegalTxnStateException
thrown when aTxn
is configured as abort only and a prepare/commit is executed.- See Also:
Txn.setAbortOnly()
,Txn.isAbortOnly()
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description AbortOnlyException(java.lang.String message)
Creates a new AbortOnlyException with the provided message.AbortOnlyException(java.lang.String message, java.lang.Throwable cause)
Creates a new AbortOnlyException with the provided message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbortOnlyException
public AbortOnlyException(java.lang.String message)
Creates a new AbortOnlyException with the provided message.- Parameters:
message
- the message.
-
AbortOnlyException
public AbortOnlyException(java.lang.String message, java.lang.Throwable cause)
Creates a new AbortOnlyException with the provided message and cause.- Parameters:
message
- the messagecause
- the cause.
-
-