com.ibm.websphere.objectgrid
Class SessionNotReentrantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.websphere.objectgrid.ObjectGridException
com.ibm.websphere.objectgrid.TransactionException
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
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. |
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()
© Copyright International Business Machines Corp 2005,2013. All rights reserved.