Package org.apache.kafka.common.errors
Class InvalidOffsetException
- 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.InvalidOffsetException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
OffsetOutOfRangeException
public class InvalidOffsetException extends ApiException
Thrown when the offset for a set of partitions is invalid (either undefined or out of range), and no reset policy has been configured.- See Also:
OffsetOutOfRangeException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidOffsetException(java.lang.String message)
InvalidOffsetException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
-