IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid
Class SessionNotReentrantException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.websphere.objectgrid.ObjectGridException
              extended by com.ibm.websphere.objectgrid.TransactionException
                  extended by com.ibm.websphere.objectgrid.SessionNotReentrantException
All Implemented Interfaces:
IObjectGridException, Serializable

public class SessionNotReentrantException
extends TransactionException

A Session object can only be used by a single thread concurrently to perform map operations. If a thread tries to execute a map operation (for example, call a method on ObjectMap interface) while another thread is already executing a map operation for the Session, then this exception is thrown.

Since:
WAS XD 6.0.1, XC10
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.websphere.objectgrid.TransactionException
ivTransactionRolledBack
 
Constructor Summary
SessionNotReentrantException(String message, boolean rolledBack)
          Constructs a new SessionNotReentrantException with the specified detail message and a special indication of whether the transaction was rolled back as a result of this exception.
 
Method Summary
 
Methods inherited from class com.ibm.websphere.objectgrid.TransactionException
isTransactionActive, wasTransactionRolledBack
 
Methods inherited from class com.ibm.websphere.objectgrid.ObjectGridException
getCause, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionNotReentrantException

public SessionNotReentrantException(String message,
                                    boolean rolledBack)
Constructs a new SessionNotReentrantException with the specified detail message and a special indication of whether the transaction was rolled back as a result of this exception. The cause is not initialized, and may subsequently be initialized by a call to the initCause method.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage method.
rolledBack - A value of true indicates the transaction was rolled back.
See Also:
ObjectGridException.initCause(Throwable), Throwable.getMessage(), TransactionException.wasTransactionRolledBack()

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.