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:
java.io.Serializable
public class LockedException extends AtomicOperationException
AnAtomicOperationException
thrown when an atomic operation was executed on aTxnObject
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LockedException()
Creates a new LockedException.LockedException(java.lang.String message)
Creates a new LockedExceptionLockedException(java.lang.String message, java.lang.Throwable cause)
Creates a new LockedException.LockedException(java.lang.Throwable cause)
Creates a new LockedException
-
-
-
Constructor Detail
-
LockedException
public LockedException()
Creates a new LockedException.
-
LockedException
public LockedException(java.lang.String message)
Creates a new LockedException- Parameters:
message
- the message
-
LockedException
public LockedException(java.lang.String message, java.lang.Throwable cause)
Creates a new LockedException.- Parameters:
message
- the messagecause
- the cause
-
LockedException
public LockedException(java.lang.Throwable cause)
Creates a new LockedException- Parameters:
cause
- the cause
-
-