See: Description
| Interface | Description |
|---|---|
| CopycatError |
Base type for Copycat protocol errors.
|
| Enum | Description |
|---|---|
| CopycatError.Type |
Raft error types.
|
| Exception | Description |
|---|---|
| ApplicationException |
Indicates that an exception occurred in the user state machine.
|
| CommandException |
Indicates that an error occurred while committing a write command.
|
| ConfigurationException |
Indicates that an error occurred while committing a write command.
|
| CopycatException |
Base Copycat protocol exception.
|
| IllegalMemberStateException |
Indicates that a server received a request for which it was not in the appropriate state to handle.
|
| InternalException |
Catch-all exception for unknown Raft protocol errors.
|
| NoLeaderException |
Indicates that the server that received a request is not the leader and does not know of a leader.
|
| OperationException |
Base class for operation exceptions
CommandException and QueryException. |
| QueryException |
Indicates that an error occurred while attempting to acheive a quorum for a read-only query.
|
| UnknownSessionException |
Indicates that an operation or other request from an unknown session was received.
|
Copycat protocol errors are designed to be transported across networks in the most efficient manner possible. Each protocol exception
is associated with a 1-byte identifier. Rather than serializing complete Exception objects, the protocol exception is
sent using only its identifier and the exception is recreated by the receiving side of a connection.
Copyright © 2013–2017. All rights reserved.