Class OutOfSequenceEnvelopeException

  • All Implemented Interfaces:
    Serializable

    @Beta
    public final class OutOfSequenceEnvelopeException
    extends RequestException
    A RequestException indicating that the backend has received a RequestEnvelope whose sequence does not match the next expected sequence. This can happen during leader transitions, when a part of the stream is rejected because the backend is not the leader and it transitions to being a leader with old stream messages still being present.
    Author:
    Robert Varga
    See Also:
    Serialized Form
    • Constructor Detail

      • OutOfSequenceEnvelopeException

        public OutOfSequenceEnvelopeException​(long expectedEnvelope)