@Beta public abstract class RequestException extends Exception
RequestFailure
to process a Request
.Modifier | Constructor and Description |
---|---|
protected |
RequestException(String message) |
protected |
RequestException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isRetriable() |
Throwable |
unwrap()
Unwraps the underlying failure.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public abstract boolean isRetriable()
public Throwable unwrap()
RuntimeRequestException
.RuntimeRequestException
, or the exception
itself.Copyright © 2019 OpenDaylight. All rights reserved.