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 message,
Throwable e) |
APIException(Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
APIException |
getException() |
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 APIResponseCopyright © 2018. All rights reserved.