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:
- CorruptRecordException, InvalidMetadataException, NotEnoughReplicasAfterAppendException, NotEnoughReplicasException, OffsetOutOfRangeException, TimeoutException, UnknownTopicOrPartitionException
public abstract class RetriableException
- extends ApiException
A retryable exception is a transient exception that if retried may succeed.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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()