com.pega.pegarules.pub.database
Class LockGoneException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.pega.pegarules.pub.PRException
              extended by com.pega.pegarules.pub.database.DatabaseException
                  extended by com.pega.pegarules.pub.database.LockFailureException
                      extended by com.pega.pegarules.pub.database.LockGoneException
All Implemented Interfaces:
java.io.Serializable

public class LockGoneException
extends LockFailureException

This exception indicates that an expected lock is gone. (This would most likely be because another Requestor stole the lock and released it.)

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 VERSION
           
 
Constructor Summary
LockGoneException(java.lang.String aLockName, java.lang.Throwable aCause, int aSeverity, java.lang.String aDescr, java.lang.String aSQL, java.lang.String[] aSQLInserts)
          Creates an exception indicating a required lock is missing.
 
Method Summary
 
Methods inherited from class com.pega.pegarules.pub.database.LockFailureException
createLostLockException, createOtherRequestorHasLockException
 
Methods inherited from class com.pega.pegarules.pub.database.DatabaseException
getSQL, setSQL, setSQLInserts
 
Methods inherited from class com.pega.pegarules.pub.PRException
toString
 
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
Constructor Detail

LockGoneException

public LockGoneException(java.lang.String aLockName,
                         java.lang.Throwable aCause,
                         int aSeverity,
                         java.lang.String aDescr,
                         java.lang.String aSQL,
                         java.lang.String[] aSQLInserts)
Creates an exception indicating a required lock is missing.

Parameters:
aLockName - the lock ID
aCause - the exception that caused this, or null if none (usually this will be null)
aSeverity - the severity of this exception
aDescr - a description of what was happening when this exception occurred
aSQL - the SQL operation associated with this exception, or null if none
aSQLInserts - the inserts for aSQL, or null if none


Copyright © 2012 Pegasystems Inc. All Rights Reserved.