org.apache.kafka.common.errors
Class RetriableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.kafka.common.KafkaException
                  extended by org.apache.kafka.common.errors.ApiException
                      extended by 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

Constructor Summary
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
 
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
 

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()