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:
 java.io.Serializable
- Direct Known Subclasses:
 NotLeaderOrFollowerException
@Deprecated public class NotLeaderForPartitionException extends InvalidMetadataException
Deprecated.since 2.6. UseNotLeaderOrFollowerException.This server is not the leader for the given partition.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description NotLeaderForPartitionException()Deprecated.NotLeaderForPartitionException(java.lang.String message)Deprecated.NotLeaderForPartitionException(java.lang.String message, java.lang.Throwable cause)Deprecated.NotLeaderForPartitionException(java.lang.Throwable cause)Deprecated. 
- 
Method Summary
- 
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
NotLeaderForPartitionException
public NotLeaderForPartitionException()
Deprecated. 
- 
NotLeaderForPartitionException
public NotLeaderForPartitionException(java.lang.String message)
Deprecated. 
- 
NotLeaderForPartitionException
public NotLeaderForPartitionException(java.lang.Throwable cause)
Deprecated. 
- 
NotLeaderForPartitionException
public NotLeaderForPartitionException(java.lang.String message, java.lang.Throwable cause)Deprecated. 
 - 
 
 -