Berkeley DB Java Edition
version 5.0.34

com.sleepycat.je.rep
Class MasterReplicaTransitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sleepycat.je.DatabaseException
                  extended by com.sleepycat.je.RunRecoveryException
                      extended by com.sleepycat.je.EnvironmentFailureException
                          extended by com.sleepycat.je.rep.RestartRequiredException
                              extended by 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

Constructor Summary
MasterReplicaTransitionException(com.sleepycat.je.dbi.EnvironmentImpl envImpl, Exception cause)
           
 
Method Summary
 
Methods inherited from class com.sleepycat.je.EnvironmentFailureException
getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MasterReplicaTransitionException

public MasterReplicaTransitionException(com.sleepycat.je.dbi.EnvironmentImpl envImpl,
                                        Exception cause)

Berkeley DB Java Edition
version 5.0.34

Copyright (c) 2004-2011 Oracle. All rights reserved.