Package org.apache.kafka.common.errors
Class RetriableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.kafka.common.KafkaException
-
- org.apache.kafka.common.errors.ApiException
-
- org.apache.kafka.common.errors.RetriableException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CoordinatorLoadInProgressException
,CoordinatorNotAvailableException
,CorruptRecordException
,DisconnectException
,FetchSessionIdNotFoundException
,InvalidFetchSessionEpochException
,InvalidMetadataException
,NotControllerException
,NotCoordinatorException
,NotEnoughReplicasAfterAppendException
,NotEnoughReplicasException
,RetriableCommitFailedException
,TimeoutException
,UnknownLeaderEpochException
public abstract class RetriableException extends ApiException
A retryable exception is a transient exception that if retried may succeed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RetriableException()
RetriableException(java.lang.String message)
RetriableException(java.lang.String message, java.lang.Throwable cause)
RetriableException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
-
-
-
Constructor Detail
-
RetriableException
public RetriableException(java.lang.String message, java.lang.Throwable cause)
-
RetriableException
public RetriableException(java.lang.String message)
-
RetriableException
public RetriableException(java.lang.Throwable cause)
-
RetriableException
public RetriableException()
-
-