public class ReplicaWriteException extends StateChangeException
ReplicatedEnvironment.State.REPLICA
state. The transaction is marked
as being invalid.
The exception is the result of either an error in the application logic or the result of a transition of the node from Master to Replica while a transaction was in progress.
The application must abort the current transaction and redirect all subsequent update operations to the Master.
Constructor and Description |
---|
ReplicaWriteException(com.sleepycat.je.txn.Locker locker,
StateChangeEvent stateChangeEvent)
For internal use only.
|
Modifier and Type | Method and Description |
---|---|
OperationFailureException |
wrapSelf(String msg)
For internal use only.
|
getEvent
addErrorMessage, addRethrownStackTrace, getMessage, getVersionHeader
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ReplicaWriteException(com.sleepycat.je.txn.Locker locker, StateChangeEvent stateChangeEvent)
public OperationFailureException wrapSelf(String msg)
wrapSelf
in class OperationFailureException
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.