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:
ApplicationRecoverableException,BalanceCannotBeImprovedException,BalancerBrokerExcludedForReplicaPlacementException,BalancerLoadError,BalancerMisconfigurationException,BalancerOfflineException,BalancerOperationFailedException,BrokerAdditionInProgressException,BrokerFailureFixInProgressException,BrokerIdNotRegisteredException,BrokerNotAvailableException,BrokerRegistrationDoesNotContainEncryptorSecretException,BrokerRemovalCanceledException,BrokerRemovalInProgressException,BrokerRemovedException,CellNotFoundException,ClusterLinkDisabledException,ClusterLinkExistsException,ClusterLinkInUseException,ClusterLinkNotFoundException,ClusterLinkPausedException,ControllerMovedException,ControllerRegistrationDoesNotContainActiveSecretException,DelegationTokenDisabledException,DelegationTokenExpiredException,DelegationTokenNotFoundException,DelegationTokenOwnerMismatchException,DemotionLimitReachedException,DuplicateBrokerRegistrationException,DuplicateResourceException,DuplicateSequenceException,DuplicateVoterException,EvenClusterLoadTaskInProgressException,FeatureUpdateFailedException,FencedMemberEpochException,FencedReplicationSessionIdException,FencedStateEpochException,GroupIdNotFoundException,GroupMaxSizeReachedException,GroupNotEmptyException,GroupSubscribedToTopicException,InconsistentClusterIdException,InconsistentGroupProtocolException,InconsistentVoterSetException,IneligibleReplicaException,InsufficientDataForCellLoadComputationException,InvalidBrokerRemovalException,InvalidBrokerReplicaExclusionException,InvalidClusterLinkException,InvalidCommitOffsetSizeException,InvalidConfigurationException,InvalidFetchSizeException,InvalidGroupIdException,InvalidOffsetException,InvalidPartitionsException,InvalidPrincipalTypeException,InvalidRecordStateException,InvalidRegistrationException,InvalidRegularExpression,InvalidReplicaAssignmentException,InvalidReplicationOffsetException,InvalidRequestException,InvalidSessionTimeoutException,InvalidTimestampException,InvalidTxnStateException,InvalidTxnTimeoutException,InvalidUpdateVersionException,InvalidVoterKeyException,LogDirNotFoundException,MemberIdRequiredException,MismatchedEndpointTypeException,NewLeaderElectedException,NoReassignmentInProgressException,OffsetMetadataTooLarge,OffsetMovedToTieredStorageException,OffsetTieredException,OperationNotAttemptedException,OutOfOrderSequenceException,PolicyViolationException,PositionOutOfRangeException,PrincipalDeserializationException,PushReplicationStartedException,QuotaEntityNotFoundException,ReassignmentInProgressException,RebalanceInProgressException,RebalancePlanComputationException,RebootstrapRequiredException,RecordTooLargeException,ResourceNotFoundException,RetriableException,SecurityDisabledException,SnapshotNotFoundException,StaleBrokerEpochException,StaleMemberEpochException,StreamsInvalidTopologyEpochException,StreamsInvalidTopologyException,StreamsTopologyFencedException,TelemetryTooLargeException,TenantNotFoundException,TopicDeletionDisabledException,TopicExistsException,TransactionAbortableException,TransactionAbortedException,TransactionalIdNotFoundException,TransactionCoordinatorFencedException,UnacceptableCredentialException,UnknownControllerIdException,UnknownServerException,UnknownSubscriptionIdException,UnreleasedInstanceIdException,UnrepresentableBrokerIdException,UnsupportedAssignorException,UnsupportedByAuthenticationException,UnsupportedCompressionTypeException,UnsupportedEndpointTypeException,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