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:
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(String message)
InvalidOffsetException(String message, Throwable cause)
-
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
-
InvalidOffsetException
-
InvalidOffsetException
-