public abstract class RaftException
extends java.lang.RuntimeException
This is the base exception type for all Raft protocol exceptions. Protocol exceptions must be
associated with a RaftError.Type which is used for more efficient serialization.
| Modifier and Type | Class and Description |
|---|---|
static class |
RaftException.ApplicationException |
static class |
RaftException.ClosedSession |
static class |
RaftException.CommandFailure |
static class |
RaftException.ConfigurationException |
static class |
RaftException.IllegalMemberState |
static class |
RaftException.NoLeader |
static class |
RaftException.OperationFailure |
static class |
RaftException.ProtocolException |
static class |
RaftException.QueryFailure |
static class |
RaftException.Unavailable |
static class |
RaftException.UnknownClient |
static class |
RaftException.UnknownService |
static class |
RaftException.UnknownSession |
| Modifier and Type | Method and Description |
|---|---|
RaftError.Type |
getType()
Returns the exception type.
|
public RaftError.Type getType()
Copyright © 2013-2019. All Rights Reserved.