Class InvalidOffsetException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- org.apache.kafka.common.KafkaException
- 
- org.apache.kafka.clients.consumer.InvalidOffsetException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 - Direct Known Subclasses:
- NoOffsetForPartitionException,- OffsetOutOfRangeException
 
 public abstract class InvalidOffsetException extends KafkaException Thrown when the offset for a set of partitions is invalid (either undefined or out of range), and no reset policy has been configured.
- 
- 
Constructor SummaryConstructors Constructor Description InvalidOffsetException(String message)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Set<TopicPartition>partitions()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
InvalidOffsetExceptionpublic InvalidOffsetException(String message) 
 
- 
 - 
Method Detail- 
partitionspublic abstract Set<TopicPartition> partitions() 
 
- 
 
-