public class UnknownMasterException extends StateChangeException
This exception typically indicates there is a system level problem. It could indicate for example, that a sufficient number of nodes are not available to hold an election and elect a Master, or that this node was having problems with the network and was unable to communicate with other nodes.
The application can choose to retry the operation, potentially logging the problem, until the underlying system level problem has been addressed.
Constructor and Description |
---|
UnknownMasterException(com.sleepycat.je.txn.Locker locker,
StateChangeEvent stateChangeEvent) |
UnknownMasterException(String message)
Used when the inability to determine a master is not related to a
state change.
|
UnknownMasterException(String message,
Exception reason)
Used when the inability to determine a master is not related to a
state change but some inability to communicate with a node identified
as a master.
|
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 UnknownMasterException(com.sleepycat.je.txn.Locker locker, StateChangeEvent stateChangeEvent)
public UnknownMasterException(String message)
public OperationFailureException wrapSelf(String msg)
wrapSelf
in class OperationFailureException
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.