public class LockAcquisitionException
extends org.alfresco.error.AlfrescoRuntimeException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERR_EXCLUSIVE_LOCK_EXISTS
1: the qname
2: the lock token
3: the existing other lock
|
static java.lang.String |
ERR_FAILED_TO_ACQUIRE_LOCK
1: the qname
2: the lock token
|
static java.lang.String |
ERR_FAILED_TO_RELEASE_LOCK
1: the qname
2: the lock token
|
static java.lang.String |
ERR_LOCK_RESOURCE_MISSING
1: the qname
2: the lock token
|
static java.lang.String |
ERR_LOCK_UPDATE_COUNT
1: the qname
2: the lock token
3: the actual update count
4: the expected update count
|
| Constructor and Description |
|---|
LockAcquisitionException(org.alfresco.service.namespace.QName lockQName,
java.lang.String lockToken) |
LockAcquisitionException(java.lang.String msgId,
java.lang.Object[] args) |
LockAcquisitionException(java.lang.Throwable cause,
java.lang.String msgId,
java.lang.Object[] args) |
create, create, getMsgId, getMsgParams, getRootCause, makeRuntimeExceptionpublic static final java.lang.String ERR_FAILED_TO_ACQUIRE_LOCK
public static final java.lang.String ERR_LOCK_RESOURCE_MISSING
public static final java.lang.String ERR_LOCK_UPDATE_COUNT
public static final java.lang.String ERR_FAILED_TO_RELEASE_LOCK
public static final java.lang.String ERR_EXCLUSIVE_LOCK_EXISTS
public LockAcquisitionException(org.alfresco.service.namespace.QName lockQName,
java.lang.String lockToken)
lockQName - the lock that was soughtlockToken - the lock token being usedpublic LockAcquisitionException(java.lang.String msgId,
java.lang.Object[] args)
msgId - one of the message IDs definedargs - the arguments that applypublic LockAcquisitionException(java.lang.Throwable cause,
java.lang.String msgId,
java.lang.Object[] args)
cause - an exception leading up to thismsgId - one of the message IDs definedargs - the arguments that applyCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.