# Package com.hazelcast.cp.exception

Contains exceptions that can be thrown by APIs of the CP subsystem

See: Description

- Exception Summary
  Exception | Description
  --- | ---
  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
  CPGroupDestroyedException | A `CPSubsystemException` which is thrown when a request is sent to a destroyed CP group.
  CPSubsystemException | Base exception for failures in the CP subsystem
  LeaderDemotedException | A `CPSubsystemException` which is thrown when an appended but not-committed entry is truncated by the new leader.
  NotLeaderException | A `CPSubsystemException` which is thrown when a leader-only request is received by a non-leader member.
  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.

## Package com.hazelcast.cp.exception Description

Contains exceptions that can be thrown by APIs of the CP subsystem

Copyright © 2020. All rights reserved.