Class RuntimeRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opendaylight.controller.cluster.access.concepts.RequestException
-
- org.opendaylight.controller.cluster.access.concepts.RuntimeRequestException
-
- All Implemented Interfaces:
Serializable
@Beta public final class RuntimeRequestException extends RequestException
General error raised when the recipient of aRequest
fails to process a request.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuntimeRequestException(String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRetriable()
Throwable
unwrap()
Unwraps the underlying failure.-
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
-
unwrap
public Throwable unwrap()
Description copied from class:RequestException
Unwraps the underlying failure. This method is overridden only inRuntimeRequestException
.- Overrides:
unwrap
in classRequestException
- Returns:
- Underlying cause of the failure if exception is a
RuntimeRequestException
, or the exception itself.
-
-