public class APIException extends Exception implements APIResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
APIException.FailedRequestException |
static class |
APIException.MalformedResponseException |
| Constructor and Description |
|---|
APIException() |
APIException(String message) |
APIException(String header,
String message,
Throwable e) |
APIException(String message,
Throwable e) |
APIException(Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
APIException |
getException() |
String |
getHeader() |
String |
getRawResponse() |
com.google.gson.JsonObject |
getRawResponseAsJsonObject() |
APINode |
head() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic APIException()
public APIException(Throwable e)
public APIException(String message)
public APINode head()
head in interface APIResponsepublic APIException getException()
getException in interface APIResponsepublic String getRawResponse()
getRawResponse in interface APIResponsepublic com.google.gson.JsonObject getRawResponseAsJsonObject()
getRawResponseAsJsonObject in interface APIResponsepublic String getHeader()
getHeader in interface APIResponseCopyright © 2020. All rights reserved.