Package org.apache.kafka.common.errors
Class ApiException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- org.apache.kafka.common.KafkaException
 - 
- org.apache.kafka.common.errors.ApiException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
- Direct Known Subclasses:
 AuthenticationException,AuthorizationException,BrokerNotAvailableException,ConcurrentTransactionsException,ControllerMovedException,DelegationTokenDisabledException,DelegationTokenExpiredException,DelegationTokenNotFoundException,DelegationTokenOwnerMismatchException,DuplicateSequenceException,FencedInstanceIdException,GroupIdNotFoundException,GroupMaxSizeReachedException,GroupNotEmptyException,GroupSubscribedToTopicException,IllegalGenerationException,InconsistentGroupProtocolException,InvalidCommitOffsetSizeException,InvalidConfigurationException,InvalidFetchSizeException,InvalidGroupIdException,InvalidOffsetException,InvalidPartitionsException,InvalidPidMappingException,InvalidPrincipalTypeException,InvalidRecordException,InvalidReplicaAssignmentException,InvalidReplicationFactorException,InvalidRequestException,InvalidRequiredAcksException,InvalidSessionTimeoutException,InvalidTimestampException,InvalidTopicException,InvalidTxnStateException,InvalidTxnTimeoutException,LogDirNotFoundException,MemberIdRequiredException,NoReassignmentInProgressException,OffsetMetadataTooLarge,OperationNotAttemptedException,OutOfOrderSequenceException,PolicyViolationException,ProducerFencedException,ReassignmentInProgressException,RebalanceInProgressException,RecordBatchTooLargeException,RecordTooLargeException,RetriableException,SecurityDisabledException,StaleBrokerEpochException,TopicDeletionDisabledException,TopicExistsException,TransactionCoordinatorFencedException,UnknownMemberIdException,UnknownServerException,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:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ApiException()ApiException(java.lang.String message)ApiException(java.lang.String message, java.lang.Throwable cause)ApiException(java.lang.Throwable cause) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablefillInStackTrace() 
 -