@Beta public abstract class RequestException extends Exception
RequestFailure to process a Request.| Modifier | Constructor and Description |
|---|---|
protected |
RequestException(@NonNull String message) |
protected |
RequestException(@NonNull String message,
@NonNull 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, toStringprotected RequestException(@NonNull String message)
public abstract boolean isRetriable()
public Throwable unwrap()
RuntimeRequestException.RuntimeRequestException, or the exception
itself.Copyright © 2019 OpenDaylight. All rights reserved.