|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.ibm.websphere.objectgrid.ObjectGridRuntimeException com.ibm.websphere.objectgrid.TransactionTimeoutException
public class TransactionTimeoutException
This exception is thrown when a transaction exceeds the transaction timeout
that was specified on the ObjectGrid
or Session
.
ObjectGrid.setTxTimeout(int)
,
Session.setTransactionTimeout(int)
,
Serialized FormConstructor Summary | |
---|---|
TransactionTimeoutException(String message,
String txIdString)
Constructs a new TransactionTimeoutException with the specified detail message. |
|
TransactionTimeoutException(String message,
Throwable cause)
|
Method Summary | |
---|---|
String |
getTxIDString()
Get the String representation of the TxID for the
transaction that timed out. |
Date |
whenOccurred()
Gives the time when this TransactionTimeoutException was created. |
Methods inherited from class com.ibm.websphere.objectgrid.ObjectGridRuntimeException |
---|
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 |
---|
public TransactionTimeoutException(String message, Throwable cause)
public TransactionTimeoutException(String message, String txIdString)
initCause
method.
message
- the detail message. The detail message is saved for later
retrieval by the getMessage
method.txIdString
- the result of TxID.toString()
for the transaction that timed out.ObjectGridRuntimeException.initCause(Throwable)
,
Throwable.getMessage()
Method Detail |
---|
public Date whenOccurred()
public String getTxIDString()
TxID
for the
transaction that timed out.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |