Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

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

public class LockAcquisitionException
extends AlfrescoRuntimeException
Exception generated when a lock cannot be acquired.
Since:
3.2
Author:
Derek Hulley
See Also:
Serialized Form

Field Summary
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 Summary
LockAcquisitionException(String msgId, Object... args)
LockAcquisitionException(Throwable cause, String msgId, Object... args)
LockAcquisitionException(QName lockQName, String lockToken)
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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
ERR_EXCLUSIVE_LOCK_EXISTS
public static final String ERR_EXCLUSIVE_LOCK_EXISTS
  • 1: the qname
  • 2: the lock token
  • 3: the existing other lock
See Also:
Constant Field Values

ERR_FAILED_TO_ACQUIRE_LOCK
public static final String ERR_FAILED_TO_ACQUIRE_LOCK
  • 1: the qname
  • 2: the lock token
See Also:
Constant Field Values

ERR_FAILED_TO_RELEASE_LOCK
public static final String ERR_FAILED_TO_RELEASE_LOCK
  • 1: the qname
  • 2: the lock token
See Also:
Constant Field Values

ERR_LOCK_RESOURCE_MISSING
public static final String ERR_LOCK_RESOURCE_MISSING
  • 1: the qname
  • 2: the lock token
See Also:
Constant Field Values

ERR_LOCK_UPDATE_COUNT
public static final String ERR_LOCK_UPDATE_COUNT
  • 1: the qname
  • 2: the lock token
  • 3: the actual update count
  • 4: the expected update count
See Also:
Constant Field Values
Constructor Detail
LockAcquisitionException
public LockAcquisitionException(QName lockQName,
                                String lockToken)
Parameters:
lockQName - the lock that was sought
lockToken - the lock token being used

LockAcquisitionException
public LockAcquisitionException(String msgId,
                                Object... args)
Parameters:
msgId - one of the message IDs defined
args - the arguments that apply

LockAcquisitionException
public LockAcquisitionException(Throwable cause,
                                String msgId,
                                Object... args)
Parameters:
cause - an exception leading up to this
msgId - one of the message IDs defined
args - the arguments that apply

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2016 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.