| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.websphere.objectgrid.ObjectGridException
|
+--com.ibm.websphere.objectgrid.TransactionException
Field Summary | |
---|---|
protected boolean | ivTransactionRolledBack
Indicates whether the transaction was rolled back or not.
|
Constructor Summary | |
---|---|
TransactionException(java.lang.String, boolean)
Constructs a new TransactionException with the specified detail message with a specified indication of whether the transaction was rolled back as a result of this exception. |
|
TransactionException(java.lang.Throwable, boolean)
Constructs a new TransactionException with a specified cause with a specified indication of whether the transaction was rolled back as a result of this exception. |
|
TransactionException(java.lang.String, java.lang.Throwable, boolean)
Constructs a new TransactionException with the specified detail message, cause, and indication of whether the transaction was rolled back as a result of this exception. |
Method Summary | |
---|---|
public
boolean | isTransactionActive()
Returns boolean true if the transaction is active. Otherwise, false.
|
public
boolean | wasTransactionRolledBack()
Returns boolean true if the transaction was rolled back.
|
Methods inherited from com.ibm.websphere.objectgrid.ObjectGridException |
---|
getCause, initCause, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString |
Methods inherited from java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected ivTransactionRolledBack
Constructor Detail |
public TransactionException( | String message , | boolean rolledBack )
|
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.
public TransactionException( | Throwable cause , | boolean rolledBack )
|
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.)
rolledBack
-
A value of true indicates the transaction was rolled back.
public TransactionException( | String message , | Throwable cause , | boolean rolledBack )
|
Note that the detail message associated with cause
is
not automatically incorporated in this TransactionException's detail
message.
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.)
rolledBack
-
A value of true indicates the transaction was rolled back.
Method Detail |
public boolean isTransactionActive( | ) |
public boolean wasTransactionRolledBack( | ) |
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |