com.ibm.tws.conn.exception
Class ConnLockingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.tws.util.exception.TWSException
              extended bycom.ibm.tws.conn.exception.ConnException
                  extended bycom.ibm.tws.conn.exception.ConnLockingException
All Implemented Interfaces:
java.io.Serializable

public class ConnLockingException
extends ConnException

This exception is thrown when an operation fails because it violates lock management checks.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
ConnLockingException(boolean gLock, java.lang.String currentMessageID)
          Creates a ConnLockingException from the given message ID.
ConnLockingException(TWSException e, boolean gLock)
          Creates a ConnLockingException from the given nested exception.
 
Method Summary
 boolean isGlobalLock()
          Returns true if the exception was generated because the database is locked.
 
Methods inherited from class com.ibm.tws.conn.exception.ConnException
buildInsert, buildInsert2
 
Methods inherited from class com.ibm.tws.util.exception.TWSException
getArgs, getCauseMessage, getLocalizedMessage, getLocalizedMessage, getMessage, initialize, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright

Constructor Detail

ConnLockingException

public ConnLockingException(TWSException e,
                            boolean gLock)
Creates a ConnLockingException from the given nested exception.

Parameters:
e - The nested cause from which this exception was generated.
gLock - True if the database is locked, false if the error was generated by lock checks on a single object.

ConnLockingException

public ConnLockingException(boolean gLock,
                            java.lang.String currentMessageID)
Creates a ConnLockingException from the given message ID.

Parameters:
currentMessageID - The identifier of the message in the connector's message catalog.
gLock - True if the database is locked, false if the error was generated by lock checks on a single object.
Method Detail

isGlobalLock

public boolean isGlobalLock()
Returns true if the exception was generated because the database is locked.

Returns:
True if the exception was generated because the database is locked.


Copyright © 2005 IBM All Rights Reserved.