public class LockFailureException extends DatabaseException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
mLookUpRuleMessages
Constructor and Description |
---|
LockFailureException(java.lang.Throwable aCause,
int aSeverity,
java.lang.String aDescr) |
LockFailureException(java.lang.Throwable ex,
java.lang.String aDescr) |
Modifier and Type | Method and Description |
---|---|
static LockFailureException |
createLostLockException(java.lang.String aLockName)
Deprecated.
create an instance of
LockGoneException instead |
static LockFailureException |
createOtherRequestorHasLockException(java.lang.String aLockName,
java.lang.String aLockingRequestorID,
java.lang.String aActionDescr)
Deprecated.
create an instance of
LockStolenException instead |
getDBName, getIndexesOfFailedBatchOperation, getMessage, getOperation, getSQL, setDBName, setOperation, setSQL, setSQLInserts
isLookUpRuleMessages, setLookUpRuleMessages, toString
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public LockFailureException(java.lang.Throwable ex, java.lang.String aDescr)
ex
- the exception that caused this; may be nullaDescr
- public LockFailureException(java.lang.Throwable aCause, int aSeverity, java.lang.String aDescr)
public static LockFailureException createOtherRequestorHasLockException(java.lang.String aLockName, java.lang.String aLockingRequestorID, java.lang.String aActionDescr)
LockStolenException
insteadaLockName
- 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
exceptionpublic static LockFailureException createLostLockException(java.lang.String aLockName)
LockGoneException
insteadaLockName
- the key to the lost lockCopyright © 2018 Pegasystems Inc. All Rights Reserved.