org.apache.kafka.common.errors
Class LeaderNotAvailableException

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
                          extended by org.apache.kafka.common.errors.InvalidMetadataException
                              extended by org.apache.kafka.common.errors.LeaderNotAvailableException
All Implemented Interfaces:
java.io.Serializable

public class LeaderNotAvailableException
extends InvalidMetadataException

There is no currently available leader for the given partition (either because a leadership election is in progress or because all replicas are down).

See Also:
Serialized Form

Constructor Summary
LeaderNotAvailableException(java.lang.String message)
           
 
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

LeaderNotAvailableException

public LeaderNotAvailableException(java.lang.String message)