com.ibm.tws.conn.exception
Class ConnLockingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.tws.util.exception.TWSException
com.ibm.tws.conn.exception.ConnException
com.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 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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright
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.
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.