Class ApiException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationException, AuthorizationException, BrokerIdNotRegisteredException, BrokerNotAvailableException, ControllerMovedException, DelegationTokenDisabledException, DelegationTokenExpiredException, DelegationTokenNotFoundException, DelegationTokenOwnerMismatchException, DuplicateBrokerRegistrationException, DuplicateResourceException, DuplicateSequenceException, FeatureUpdateFailedException, FencedInstanceIdException, FencedMemberEpochException, GroupIdNotFoundException, GroupMaxSizeReachedException, GroupNotEmptyException, GroupSubscribedToTopicException, IllegalGenerationException, InconsistentClusterIdException, InconsistentGroupProtocolException, InconsistentVoterSetException, IneligibleReplicaException, InvalidCommitOffsetSizeException, InvalidConfigurationException, InvalidFetchSizeException, InvalidGroupIdException, InvalidOffsetException, InvalidPartitionsException, InvalidPidMappingException, InvalidPrincipalTypeException, InvalidProducerEpochException, InvalidRecordException, InvalidReplicaAssignmentException, InvalidReplicationFactorException, InvalidRequestException, InvalidRequiredAcksException, InvalidSessionTimeoutException, InvalidTimestampException, InvalidTopicException, InvalidTxnStateException, InvalidTxnTimeoutException, InvalidUpdateVersionException, LogDirNotFoundException, MemberIdRequiredException, NewLeaderElectedException, NoReassignmentInProgressException, OffsetMetadataTooLarge, OffsetMovedToTieredStorageException, OperationNotAttemptedException, OutOfOrderSequenceException, PolicyViolationException, PositionOutOfRangeException, PrincipalDeserializationException, ProducerFencedException, ReassignmentInProgressException, RebalanceInProgressException, RecordBatchTooLargeException, RecordTooLargeException, ResourceNotFoundException, RetriableException, SecurityDisabledException, SnapshotNotFoundException, StaleBrokerEpochException, StaleMemberEpochException, TopicDeletionDisabledException, TopicExistsException, TransactionAbortedException, TransactionalIdNotFoundException, TransactionCoordinatorFencedException, UnacceptableCredentialException, UnknownMemberIdException, UnknownServerException, UnreleasedInstanceIdException, UnsupportedAssignorException, UnsupportedByAuthenticationException, UnsupportedCompressionTypeException, UnsupportedForMessageFormatException, UnsupportedVersionException

public class ApiException extends KafkaException
Any API exception that is part of the public protocol and should be a subclass of this class and be part of this package.
See Also:
  • Constructor Details

    • ApiException

      public ApiException(String message, Throwable cause)
    • ApiException

      public ApiException(String message)
    • ApiException

      public ApiException(Throwable cause)
    • ApiException

      public ApiException()
  • Method Details