|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.alfresco.error.AlfrescoRuntimeException
org.alfresco.repo.lock.LockAcquisitionException
public class LockAcquisitionException
Exception generated when a lock cannot be acquired.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
LockAcquisitionException(org.alfresco.service.namespace.QName lockQName,
java.lang.String lockToken)
|
|
LockAcquisitionException(java.lang.String msgId,
java.lang.Object[] args)
|
|
| Method Summary |
|---|
| Methods inherited from class org.alfresco.error.AlfrescoRuntimeException |
|---|
create, create, getMsgId, getMsgParams, makeRuntimeException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public 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
| Constructor Detail |
|---|
public LockAcquisitionException(org.alfresco.service.namespace.QName lockQName,
java.lang.String lockToken)
lockQName - the lock that was soughtlockToken - the lock token being used
public LockAcquisitionException(java.lang.String msgId,
java.lang.Object[] args)
msgId - one of the message IDs definedargs - the arguments that apply
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||