public class ZendeskResponseException extends ZendeskException
ZendeskException specialisation for HTTP non-2xx responses| Constructor and Description |
|---|
ZendeskResponseException(int statusCode,
String statusText,
String body) |
ZendeskResponseException(com.ning.http.client.Response resp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody() |
int |
getStatusCode() |
String |
getStatusText() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ZendeskResponseException(com.ning.http.client.Response resp)
throws IOException
IOExceptionCopyright © 2013–2014. All rights reserved.