Package org.multiverse.api.exceptions
Class LockedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.multiverse.api.exceptions.TxnExecutionException
org.multiverse.api.exceptions.AtomicOperationException
org.multiverse.api.exceptions.LockedException
- All Implemented Interfaces:
Serializable
An
AtomicOperationException
thrown when an atomic operation was executed on a
TxnObject
while it was locked. E.g. when an atomicGet was done on a TxnRef
that already has an exclusive lock or that a TxnRef.atomicSet while a readlock already was acquired.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new LockedException.LockedException
(String message) Creates a new LockedExceptionLockedException
(String message, Throwable cause) Creates a new LockedException.LockedException
(Throwable cause) Creates a new LockedException -
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
-
LockedException
public LockedException()Creates a new LockedException. -
LockedException
Creates a new LockedException- Parameters:
message
- the message
-
LockedException
Creates a new LockedException.- Parameters:
message
- the messagecause
- the cause
-
LockedException
Creates a new LockedException- Parameters:
cause
- the cause
-