kafka.common.errors
Class NotLeaderForPartitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by kafka.common.KafkaException
                  extended by kafka.common.errors.ApiException
                      extended by kafka.common.errors.RetryableException
                          extended by kafka.common.errors.NotLeaderForPartitionException
All Implemented Interfaces:
java.io.Serializable

public class NotLeaderForPartitionException
extends RetryableException

See Also:
Serialized Form

Constructor Summary
NotLeaderForPartitionException()
           
NotLeaderForPartitionException(java.lang.String message)
           
NotLeaderForPartitionException(java.lang.String message, java.lang.Throwable cause)
           
NotLeaderForPartitionException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class 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

NotLeaderForPartitionException

public NotLeaderForPartitionException()

NotLeaderForPartitionException

public NotLeaderForPartitionException(java.lang.String message)

NotLeaderForPartitionException

public NotLeaderForPartitionException(java.lang.Throwable cause)

NotLeaderForPartitionException

public NotLeaderForPartitionException(java.lang.String message,
                                      java.lang.Throwable cause)