org.apache.kafka.common.errors
Class NotLeaderForPartitionException
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
org.apache.kafka.common.errors.InvalidMetadataException
org.apache.kafka.common.errors.NotLeaderForPartitionException
- All Implemented Interfaces:
- java.io.Serializable
public class NotLeaderForPartitionException
- extends InvalidMetadataException
This server is not the leader for the given partition
- 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 |
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)