Package org.alfresco.repo.lock
Class LockAcquisitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.alfresco.error.AlfrescoRuntimeException
org.alfresco.repo.lock.LockAcquisitionException
- All Implemented Interfaces:
Serializable
@AlfrescoPublicApi
public class LockAcquisitionException
extends org.alfresco.error.AlfrescoRuntimeException
Exception generated when a lock cannot be acquired.
- Since:
- 3.2
- Author:
- Derek Hulley
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String1: the qname 2: the lock token 3: the existing other lockstatic final String1: the qname 2: the lock tokenstatic final String1: the qname 2: the lock tokenstatic final String1: the qname 2: the lock tokenstatic final String1: the qname 2: the lock token 3: the actual update count 4: the expected update count -
Constructor Summary
ConstructorsConstructorDescriptionLockAcquisitionException(String msgId, Object... args) LockAcquisitionException(Throwable cause, String msgId, Object... args) LockAcquisitionException(QName lockQName, String lockToken) -
Method Summary
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERR_FAILED_TO_ACQUIRE_LOCK
- 1: the qname
- 2: the lock token
- See Also:
-
ERR_LOCK_RESOURCE_MISSING
- 1: the qname
- 2: the lock token
- See Also:
-
ERR_LOCK_UPDATE_COUNT
- 1: the qname
- 2: the lock token
- 3: the actual update count
- 4: the expected update count
- See Also:
-
ERR_FAILED_TO_RELEASE_LOCK
- 1: the qname
- 2: the lock token
- See Also:
-
ERR_EXCLUSIVE_LOCK_EXISTS
- 1: the qname
- 2: the lock token
- 3: the existing other lock
- See Also:
-
-
Constructor Details
-
LockAcquisitionException
- Parameters:
lockQName- the lock that was soughtlockToken- the lock token being used
-
LockAcquisitionException
- Parameters:
msgId- one of the message IDs definedargs- the arguments that apply
-
LockAcquisitionException
- Parameters:
cause- an exception leading up to thismsgId- one of the message IDs definedargs- the arguments that apply
-