Package org.multiverse.api.exceptions
Class IllegalTxnStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.multiverse.api.exceptions.TxnExecutionException
-
- org.multiverse.api.exceptions.IllegalTxnStateException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AbortOnlyException,DeadTxnException,PreparedTxnException,ReadonlyException
public class IllegalTxnStateException extends TxnExecutionException
ATxnExecutionExceptionthrown when an operation is executed on aTxnwhen it is not in a valid state for that operation.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description IllegalTxnStateException()Creates a new IllegalTxnStateException.IllegalTxnStateException(java.lang.String message)Creates a new IllegalTxnStateException with the provided message.IllegalTxnStateException(java.lang.String message, java.lang.Throwable cause)Creates a new IllegalTxnStateException with the provided message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IllegalTxnStateException
public IllegalTxnStateException()
Creates a new IllegalTxnStateException.
-
IllegalTxnStateException
public IllegalTxnStateException(java.lang.String message)
Creates a new IllegalTxnStateException with the provided message.- Parameters:
message- the message of the exception.
-
IllegalTxnStateException
public IllegalTxnStateException(java.lang.String message, java.lang.Throwable cause)Creates a new IllegalTxnStateException with the provided message and cause.- Parameters:
message- the message of the exception.cause- the cause of the exception.
-
-