IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1

com.ibm.websphere.objectgrid
LockTimeoutException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.websphere.objectgrid.ObjectGridException
                    |
                    +--com.ibm.websphere.objectgrid.LockException
                          |
                          +--com.ibm.websphere.objectgrid.LockTimeoutException


This exception is used by lock manager to indicate that the maximum wait time for a lock has been exceeded. The timeout may or may not be the result of a deadlock. If it is a deadlock, the timeout is used to break the deadlock.


Constructor Summary
LockTimeoutException()
           Constructs a new LockTimeoutException with null as its detail message.
LockTimeoutException(java.lang.String)
           Constructs a new LockTimeoutException with the specified detail message. The.
LockTimeoutException(java.lang.Throwable)
           Constructs a new LockTimeoutException with a specified cause..
LockTimeoutException(java.lang.String, java.lang.Throwable)
           Constructs a new LockTimeoutException with the specified detail message and cause.


Method Summary
public  StringgetLockRequestQueueDetails()
          
public  voidsetLockRequestQueueDetails(java.lang.String)
           Used to set the details of lock requests on the lock request queue at the time the lock timeout occured.
public  StringgetMessage()
          

Inherited Methods

Methods inherited from com.ibm.websphere.objectgrid.ObjectGridException
getCause, initCause, printStackTrace, printStackTrace, printStackTrace
Methods inherited from java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, setStackTrace, toString
Methods inherited from java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

LockTimeoutException

public LockTimeoutException( )
Constructs a new LockTimeoutException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to java.lang.Throwable#initCause.


LockTimeoutException

public LockTimeoutException( String message)
Constructs a new LockTimeoutException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to java.lang.Throwable#initCause.
Parameters:
message - the detail message. The detail message is saved for later retrieval by the #getMessage()method.


LockTimeoutException

public LockTimeoutException( Throwable cause)
Constructs a new LockTimeoutException with a specified cause. The cause and a detail message of (cause==null ? null : cause.toString()) is used (which typically contains the class and detail message of cause). This constructor is useful for LockTimeoutExceptions that are little more than wrappers for other throwables.
Parameters:
cause - is the exception that caused this exception to be thrown, which is saved for later retrieval by the #getCause() method. A null value is permitted and indicates that the cause is nonexistent or is unknown.


LockTimeoutException

public LockTimeoutException( String message,Throwable cause)
Constructs a new LockTimeoutException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this LockTimeoutException's detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the #getMessage()method).
cause - the cause (which is saved for later retrieval by the #getCause()method). (Anull value is permitted, and indicates that the cause is nonexistent or unknown.)


Method Detail

getLockRequestQueueDetails

public String getLockRequestQueueDetails()


Returns:
     a String that contains the details of lock requests on the lock request queue at the time the lock timeout occured.


setLockRequestQueueDetails

public void setLockRequestQueueDetails(String string)
Used to set the details of lock requests on the lock request queue at the time the lock timeout occured.
Parameters:
    string - the details of lock requests on the lock request queue at the time the lock timeout occured.


getMessage

public String getMessage()

See Also:
    getMessage()


IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1