com.sleepycat.je.rep
Class ReplicaWriteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sleepycat.je.DatabaseException
com.sleepycat.je.OperationFailureException
com.sleepycat.je.rep.StateChangeException
com.sleepycat.je.rep.ReplicaWriteException
- All Implemented Interfaces:
- Serializable
public class ReplicaWriteException
- extends StateChangeException
This exception indicates that an update operation was attempted while in the
ReplicatedEnvironment.State.REPLICA
state. The transaction is marked
as being invalid.
The exception typically indicates an error in the application logic. In some
extremely rare cases it could be 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.
- See Also:
- Serialized Form
Copyright (c) 2004-2011 Oracle. All rights reserved.