com.pega.pegarules.pub.database
Class LockStolenException
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
com.pega.pegarules.pub.database.LockStolenException
- All Implemented Interfaces:
- java.io.Serializable
public class LockStolenException
- extends LockFailureException
An exception indicating that a required lock has been stolen by another
Requestor.
- Version:
- $Revision: 31 $ $Date: 2009-06-24 09:38:04 -0400 (Wed, 24 Jun 2009) $
- Author:
- Jamie Gentry
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
sLockHeldByAnother
The Rule-Message associated with this exception. |
static java.lang.String |
VERSION
|
Constructor Summary |
LockStolenException(java.lang.String aLockName,
java.lang.String aLockingRequestorID,
java.lang.Throwable aCause,
int aSeverity,
java.lang.String aDescr,
java.lang.String aSQL,
java.lang.String[] aSQLInserts)
Creates an exception indicating that another Requestor has stolen a lock. |
Method Summary |
java.lang.String |
getRequestorID()
Get the ID of the Requestor that stole this lock. |
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
sLockHeldByAnother
public static final java.lang.String sLockHeldByAnother
- The
Rule-Message
associated with this exception.
- See Also:
- Constant Field Values
LockStolenException
public LockStolenException(java.lang.String aLockName,
java.lang.String aLockingRequestorID,
java.lang.Throwable aCause,
int aSeverity,
java.lang.String aDescr,
java.lang.String aSQL,
java.lang.String[] aSQLInserts)
- Creates an exception indicating that another Requestor has stolen a lock.
- Parameters:
aLockName
- the ID of the lockaLockingRequestorID
- the ID of the Requestor that stole this lockaCause
- the exception that caused this, or null if none (usually
this will be null)aSeverity
- the severity of this exceptionaDescr
- a description of what was happening when this exception
occurredaSQL
- the SQL operation associated with this exception, or null if
noneaSQLInserts
- the inserts for aSQL
, or null if none
getRequestorID
public java.lang.String getRequestorID()
- Get the ID of the Requestor that stole this lock.
- Returns:
- the ID of the Requestor
Copyright © 2012 Pegasystems Inc. All Rights Reserved.