Package org.multiverse.api.exceptions
Class AtomicOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.multiverse.api.exceptions.TxnExecutionException
org.multiverse.api.exceptions.AtomicOperationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LockedException
A
TxnExecutionException
thrown when an atomic operation has failed (e.g. because the ref
was locked).- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new AtomicOperationException.AtomicOperationException
(String message) Creates a new AtomicOperationException with the provided message.AtomicOperationException
(String message, Throwable cause) Creates a new AtomicOperationException with the provided message and cause.Creates a new AtomicOperationException 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
-
AtomicOperationException
public AtomicOperationException()Creates a new AtomicOperationException. -
AtomicOperationException
Creates a new AtomicOperationException with the provided message.- Parameters:
message
- the message
-
AtomicOperationException
Creates a new AtomicOperationException with the provided message and cause.- Parameters:
message
- the messagecause
- the cause of the message
-
AtomicOperationException
Creates a new AtomicOperationException with the provided message and cause.- Parameters:
cause
- the cause of the exception.
-