com.sleepycat.je.rep
Class MasterReplicaTransitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sleepycat.je.DatabaseException
com.sleepycat.je.RunRecoveryException
com.sleepycat.je.EnvironmentFailureException
com.sleepycat.je.rep.RestartRequiredException
com.sleepycat.je.rep.MasterReplicaTransitionException
- All Implemented Interfaces:
- Serializable
public class MasterReplicaTransitionException
- extends RestartRequiredException
MasterReplicaTransitionException is thrown in JE replication systems when
this environment is a master and must transition to replica state. In some
cases, the environment must reinitialize internal state to become a replica.
MasterReplicaTransitionException is a RestartRequiredException
, and
the application must close and reopen its environment handle, thereby
properly reinitializing the node.
- See Also:
- Serialized Form
Methods inherited from class com.sleepycat.je.EnvironmentFailureException |
getMessage, getReason, makeJavaErrorWrapper, promote, setAlreadyThrown, unexpectedException, unexpectedException, unexpectedException, unexpectedException, unexpectedState, unexpectedState, unexpectedState, unexpectedState |
MasterReplicaTransitionException
public MasterReplicaTransitionException(EnvironmentImpl envImpl,
Exception cause)
MasterReplicaTransitionException
public MasterReplicaTransitionException(String message,
MasterReplicaTransitionException cause)
wrapSelf
public EnvironmentFailureException wrapSelf(String msg)
- Description copied from class:
RestartRequiredException
- For internal use only.
- Specified by:
wrapSelf
in class RestartRequiredException
Copyright (c) 2004-2012 Oracle. All rights reserved.