| Package | Description |
|---|---|
| io.atomix.copycat.error |
Provides error constants and exceptions associated with the Raft consensus protocol.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ApplicationException
Indicates that an exception occurred in the user state machine.
|
class |
CommandException
Indicates that an error occurred while committing a write command.
|
class |
ConfigurationException
Indicates that an error occurred while committing a write command.
|
class |
IllegalMemberStateException
Indicates that a server received a request for which it was not in the appropriate state to handle.
|
class |
InternalException
Catch-all exception for unknown Raft protocol errors.
|
class |
NoLeaderException
Indicates that the server that received a request is not the leader and does not know of a leader.
|
class |
OperationException
Base class for operation exceptions
CommandException and QueryException. |
class |
QueryException
Indicates that an error occurred while attempting to achieve a quorum for a read-only query.
|
class |
UnknownSessionException
Indicates that an operation or other request from an unknown session was received.
|
| Modifier and Type | Method and Description |
|---|---|
CopycatException |
CopycatError.createException()
Creates a new exception for the error.
|
Copyright © 2013–2017. All rights reserved.