Class OutOfSequenceEnvelopeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opendaylight.controller.cluster.access.concepts.RequestException
-
- org.opendaylight.controller.cluster.access.commands.OutOfSequenceEnvelopeException
-
- All Implemented Interfaces:
Serializable
@Beta public final class OutOfSequenceEnvelopeException extends RequestException
ARequestException
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 Summary
Constructors Constructor Description OutOfSequenceEnvelopeException(long expectedEnvelope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRetriable()
-
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.RequestException
unwrap
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
isRetriable
public boolean isRetriable()
- Specified by:
isRetriable
in classRequestException
-
-