Class RequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.controller.cluster.access.concepts.RequestException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClosedTransactionException, DeadHistoryException, DeadTransactionException, NotLeaderException, OutOfOrderRequestException, OutOfSequenceEnvelopeException, RequestTimeoutException, RetiredGenerationException, RuntimeRequestException, UnknownHistoryException, UnsupportedRequestException

@Beta public abstract class RequestException extends Exception
A failure cause behind a RequestFailure to process a Request.
Author:
Robert Varga
See Also:
  • Constructor Details

    • RequestException

      protected RequestException(@NonNull String message)
    • RequestException

      protected RequestException(@NonNull String message, @NonNull Throwable cause)
  • Method Details

    • isRetriable

      public abstract boolean isRetriable()
    • unwrap

      public Throwable unwrap()
      Unwraps the underlying failure. This method is overridden only in RuntimeRequestException.
      Returns:
      Underlying cause of the failure if exception is a RuntimeRequestException, or the exception itself.