| Package | Description | 
|---|---|
| com.hazelcast.cp.exception | 
 Contains exceptions that can be thrown by APIs of CP Subsystem 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CannotReplicateException
A  
CPSubsystemException which is thrown when an entry cannot be
 replicated, which can occur in one of the following cases:
 
 a member leaves the CP group
 CP group itself is terminated
 uncommitted entry count reaches to
 (see RaftAlgorithmConfig.getUncommittedEntryCountToRejectNewAppends())
 a membership change is requested before an entry is committed
 on a term
  | 
class  | 
CPGroupDestroyedException
A  
CPSubsystemException which is thrown when a request is sent to
 a destroyed CP group. | 
class  | 
LeaderDemotedException
A  
CPSubsystemException which is thrown when
 an appended but not-committed entry is truncated by the new leader. | 
class  | 
NotLeaderException
A  
CPSubsystemException which is thrown when
 a leader-only request is received by a non-leader member. | 
class  | 
StaleAppendRequestException
A  
CPSubsystemException which is thrown when a Raft leader node
 appends an entry to its local Raft log, but demotes to the follower role
 before learning the commit status of the entry. | 
| Modifier and Type | Method and Description | 
|---|---|
CPSubsystemException | 
CPSubsystemException.wrap()  | 
Copyright © 2021 Hazelcast, Inc.. All rights reserved.