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
A failure cause behind a
RequestFailure
to process a Request
.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RequestException
(@NonNull String message) protected
RequestException
(@NonNull String message, @NonNull Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestException
-
RequestException
-
-
Method Details
-
isRetriable
public abstract boolean isRetriable() -
unwrap
Unwraps the underlying failure. This method is overridden only inRuntimeRequestException
.- Returns:
- Underlying cause of the failure if exception is a
RuntimeRequestException
, or the exception itself.
-