Package 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:
Serializable
- Direct Known Subclasses:
NotLeaderOrFollowerException
Deprecated.
This server is not the leader for the given partition.
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated.NotLeaderForPartitionException
(String message) Deprecated.NotLeaderForPartitionException
(String message, Throwable cause) Deprecated.Deprecated. -
Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotLeaderForPartitionException
public NotLeaderForPartitionException()Deprecated. -
NotLeaderForPartitionException
Deprecated. -
NotLeaderForPartitionException
Deprecated. -
NotLeaderForPartitionException
Deprecated.
-
NotLeaderOrFollowerException
.