|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.websphere.objectgrid.ObjectGridException
com.ibm.websphere.objectgrid.TransactionException
com.ibm.websphere.objectgrid.DominoTransactionException
public class DominoTransactionException
This exception is thrown when a client tries to commit a transaction with a write operation into a replication cluster when it is in the Domino read only mode.
Field Summary |
---|
Fields inherited from class com.ibm.websphere.objectgrid.TransactionException |
---|
ivTransactionRolledBack |
Constructor Summary | |
---|---|
DominoTransactionException(String message,
boolean rolledBack)
Deprecated. Constructs a new DominoTransactionException with the specified detail message and a special indication of whether the transaction was rolled back as a result of this exception. |
|
DominoTransactionException(String message,
Throwable cause,
boolean rolledBack)
Deprecated. Constructs a new DominoTransactionException with the specified detail message, cause, and indication of whether the transaction was rolled back as a result of this exception. |
|
DominoTransactionException(Throwable cause,
boolean rolledBack)
Deprecated. Constructs a new DominoTransactionException with a specified cause and a specified indication of whether the transaction was rolled back as a result of this exception. |
Method Summary | |
---|---|
int |
getReplicationGroup()
Deprecated. Returns the replication group identifier for this exception. |
void |
setReplicationGroup(int replicationGroup)
Deprecated. Sets the replication group identifier for this exception. |
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 |
---|
public DominoTransactionException(String message, boolean rolledBack)
initCause
method.
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.ObjectGridException.initCause(Throwable)
,
Throwable.getMessage()
,
TransactionException.wasTransactionRolledBack()
public DominoTransactionException(Throwable cause, boolean rolledBack)
(cause==null ? null : cause.toString())
is used (which typically contains the class and detail message of cause
).
This constructor is useful for as a wrapper for other Throwable objects that occur.
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.rolledBack
- A value of true
indicates the transaction was rolled back.ObjectGridException.getCause()
,
TransactionException.wasTransactionRolledBack()
public DominoTransactionException(String message, Throwable cause, boolean rolledBack)
Note that the detail message associated with cause
is
not automatically incorporated in this DominoTransactionException'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.ObjectGridException.getCause()
,
Throwable.getMessage()
,
TransactionException.wasTransactionRolledBack()
Method Detail |
---|
public int getReplicationGroup()
setReplicationGroup(int)
method of this class or 0
if the
setReplicationGroup
method was not previously called for this object.setReplicationGroup(int)
public void setReplicationGroup(int replicationGroup)
replicationGroup
- The replication group identifier
|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |