@AlfrescoPublicApi
public class LockAcquisitionException
extends org.alfresco.error.AlfrescoRuntimeException
| Modifier and Type | Field and Description |
|---|---|
static String |
ERR_EXCLUSIVE_LOCK_EXISTS
1: the qname
2: the lock token
3: the existing other lock
|
static String |
ERR_FAILED_TO_ACQUIRE_LOCK
1: the qname
2: the lock token
|
static String |
ERR_FAILED_TO_RELEASE_LOCK
1: the qname
2: the lock token
|
static String |
ERR_LOCK_RESOURCE_MISSING
1: the qname
2: the lock token
|
static 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,
String lockToken) |
LockAcquisitionException(String msgId,
Object... args) |
LockAcquisitionException(Throwable cause,
String msgId,
Object... args) |
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String ERR_FAILED_TO_ACQUIRE_LOCK
public static final String ERR_LOCK_RESOURCE_MISSING
public static final String ERR_LOCK_UPDATE_COUNT
public static final String ERR_FAILED_TO_RELEASE_LOCK
public static final String ERR_EXCLUSIVE_LOCK_EXISTS
public LockAcquisitionException(org.alfresco.service.namespace.QName lockQName,
String lockToken)
lockQName - the lock that was soughtlockToken - the lock token being usedpublic LockAcquisitionException(String msgId, Object... args)
msgId - one of the message IDs definedargs - the arguments that applyCopyright © 2005–2018 Alfresco Software. All rights reserved.