com.pega.pegarules.pub.database
Class LockFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.pega.pegarules.pub.PRException
com.pega.pegarules.pub.database.DatabaseException
com.pega.pegarules.pub.database.LockFailureException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- LockGoneException, LockStolenException
public abstract class LockFailureException
- extends DatabaseException
An exception that is thrown when a lock-related problem
occurs.
- Version:
- $Revision: 11395 $ $Date: 2011-06-09 15:21:28 -0400 (Thu, 09 Jun 2011) $
- Author:
- Jamie Gentry
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
VERSION
public static final java.lang.String VERSION
createOtherRequestorHasLockException
public static LockFailureException createOtherRequestorHasLockException(java.lang.String aLockName,
java.lang.String aLockingRequestorID,
java.lang.String aActionDescr)
- Deprecated. create an instance of
LockStolenException
instead
- Creates an exception indicating that we cannot lock
a key because another Requestor already has the lock.
- Parameters:
aLockName
- the key we are trying to lockaLockingRequestorID
- ID of the Requestor that currently
holds the lock, or null if unknownaActionDescr
- what we were trying to do that prompted the
exception
- Returns:
- a new exception
createLostLockException
public static LockFailureException createLostLockException(java.lang.String aLockName)
- Deprecated. create an instance of
LockGoneException
instead
- Creates an exception indicating that we cannot perform
a commit because a lock has ben lost.
- Parameters:
aLockName
- the key to the lost lock
- Returns:
- a new exception
Copyright © 2012 Pegasystems Inc. All Rights Reserved.