com.sleepycat.je.rep
Class MasterStateException

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.OperationFailureException
                      extended by com.sleepycat.je.rep.StateChangeException
                          extended by com.sleepycat.je.rep.MasterStateException
All Implemented Interfaces:
Serializable

public class MasterStateException
extends StateChangeException

This exception indicates that the application attempted an operation that is not permitted when it is in the Replicator.State.Master state.

See Also:
Serialized Form

Constructor Summary
MasterStateException(StateChangeEvent stateChangeEvent)
          For internal use only.
MasterStateException(String message)
          For internal use only.
 
Method Summary
 MasterStateException wrapSelf(String msg)
          For internal use only.
 
Methods inherited from class com.sleepycat.je.rep.StateChangeException
getEvent
 
Methods inherited from class com.sleepycat.je.DatabaseException
addErrorMessage, getMessage, getVersionHeader
 
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

MasterStateException

public MasterStateException(StateChangeEvent stateChangeEvent)
For internal use only.


MasterStateException

public MasterStateException(String message)
For internal use only.

Method Detail

wrapSelf

public MasterStateException wrapSelf(String msg)
For internal use only.

Specified by:
wrapSelf in class OperationFailureException


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