Package org.apache.kafka.common.errors
Class InvalidMetadataException
- 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
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
- Direct Known Subclasses:
 ElectionNotNeededException,EligibleLeadersNotAvailableException,FencedLeaderEpochException,KafkaStorageException,LeaderNotAvailableException,ListenerNotFoundException,NetworkException,NotLeaderForPartitionException,PreferredLeaderNotAvailableException,ReplicaNotAvailableException,UnknownTopicOrPartitionException
public abstract class InvalidMetadataException extends RetriableException
An exception that may indicate the client's metadata is out of date- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description InvalidMetadataException()InvalidMetadataException(java.lang.String message)InvalidMetadataException(java.lang.String message, java.lang.Throwable cause)InvalidMetadataException(java.lang.Throwable cause) 
- 
Method Summary
- 
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
InvalidMetadataException
public InvalidMetadataException()
 
- 
InvalidMetadataException
public InvalidMetadataException(java.lang.String message)
 
- 
InvalidMetadataException
public InvalidMetadataException(java.lang.String message, java.lang.Throwable cause) 
- 
InvalidMetadataException
public InvalidMetadataException(java.lang.Throwable cause)
 
 - 
 
 -