Class Exceptions.OffsetOutOfRange

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    Exceptions

    public static final class Exceptions.OffsetOutOfRange
    extends Exceptions.StorageException
    Offset out of range. This indicates that the append request is attempting to write data to a point beyond the current end of the stream. To append data successfully, you must either specify the offset corresponding to the current end of stream, or omit the offset from the append request. It usually means a bug in your code that introduces a gap in appends.
    See Also:
    Serialized Form
    • Constructor Detail

      • OffsetOutOfRange

        protected OffsetOutOfRange​(io.grpc.Status grpcStatus,
                                   String name,
                                   Long expectedOffset,
                                   Long actualOffset)