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:
Serializable
- Direct Known Subclasses:
AuthenticationException,AuthorizationException,BrokerIdNotRegisteredException,BrokerNotAvailableException,ControllerMovedException,DelegationTokenDisabledException,DelegationTokenExpiredException,DelegationTokenNotFoundException,DelegationTokenOwnerMismatchException,DuplicateBrokerRegistrationException,DuplicateResourceException,DuplicateSequenceException,DuplicateVoterException,FeatureUpdateFailedException,FencedInstanceIdException,FencedMemberEpochException,FencedStateEpochException,GroupIdNotFoundException,GroupMaxSizeReachedException,GroupNotEmptyException,GroupSubscribedToTopicException,IllegalGenerationException,InconsistentClusterIdException,InconsistentGroupProtocolException,InconsistentVoterSetException,IneligibleReplicaException,InvalidCommitOffsetSizeException,InvalidConfigurationException,InvalidFetchSizeException,InvalidGroupIdException,InvalidOffsetException,InvalidPartitionsException,InvalidPidMappingException,InvalidPrincipalTypeException,InvalidProducerEpochException,InvalidRecordException,InvalidRecordStateException,InvalidRegistrationException,InvalidRegularExpression,InvalidReplicaAssignmentException,InvalidReplicationFactorException,InvalidRequestException,InvalidRequiredAcksException,InvalidSessionTimeoutException,InvalidTimestampException,InvalidTopicException,InvalidTxnStateException,InvalidTxnTimeoutException,InvalidUpdateVersionException,InvalidVoterKeyException,LogDirNotFoundException,MemberIdRequiredException,MismatchedEndpointTypeException,NewLeaderElectedException,NoReassignmentInProgressException,OffsetMetadataTooLarge,OffsetMovedToTieredStorageException,OperationNotAttemptedException,OutOfOrderSequenceException,PartitionAssignorException,PolicyViolationException,PositionOutOfRangeException,PrincipalDeserializationException,ProducerFencedException,ReassignmentInProgressException,RebalanceInProgressException,RebootstrapRequiredException,RecordBatchTooLargeException,RecordTooLargeException,ResourceNotFoundException,RetriableException,SecurityDisabledException,SnapshotNotFoundException,StaleBrokerEpochException,StaleMemberEpochException,TelemetryTooLargeException,TopicDeletionDisabledException,TopicExistsException,TransactionAbortableException,TransactionAbortedException,TransactionalIdNotFoundException,TransactionCoordinatorFencedException,UnacceptableCredentialException,UnknownControllerIdException,UnknownMemberIdException,UnknownServerException,UnknownSubscriptionIdException,UnreleasedInstanceIdException,UnsupportedAssignorException,UnsupportedByAuthenticationException,UnsupportedCompressionTypeException,UnsupportedEndpointTypeException,UnsupportedForMessageFormatException,UnsupportedVersionException,VoterNotFoundException
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 Summary
ConstructorsConstructorDescriptionApiException(String message) ApiException(String message, Throwable cause) ApiException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiException
-
ApiException
-
ApiException
-
ApiException
public ApiException()
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTracein classThrowable
-