public class ReadWriteConflict extends ControlFlowError
ControlFlowError thrown when a reading or writing a TxnObject
failed, e.g. because it was locked or because a read or write conflict was detected.
A ReadWriteConflict can in most cases be solved by retrying the Txn (this will
automatically be done by the TxnExecutor).| Modifier and Type | Field and Description |
|---|---|
static ReadWriteConflict |
INSTANCE |
| Constructor and Description |
|---|
ReadWriteConflict(boolean fillStackTrace)
Creates a new ReadWriteConflict.
|
ReadWriteConflict(java.lang.String message)
Creates a new ReadWriteConflict.
|
ReadWriteConflict(java.lang.String message,
java.lang.Throwable cause)
Creates a new ReadWriteConflict.
|
getStackTracepublic static final ReadWriteConflict INSTANCE
public ReadWriteConflict(boolean fillStackTrace)
fillStackTrace - if the StackTrace should be filled.public ReadWriteConflict(java.lang.String message)
message - the message of the ReadWriteConflict.public ReadWriteConflict(java.lang.String message,
java.lang.Throwable cause)
message - the message of the ReadWriteConflict.cause - the cause of the ReadWriteConflict.