public class ZendeskResponseException extends ZendeskException
ZendeskException specialisation for HTTP non-2xx responses| Constructor and Description |
|---|
ZendeskResponseException(int statusCode,
String statusText,
String body) |
ZendeskResponseException(org.asynchttpclient.Response resp) |
ZendeskResponseException(ZendeskResponseException cause) |
| 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(org.asynchttpclient.Response resp)
throws IOException
IOExceptionpublic ZendeskResponseException(int statusCode,
String statusText,
String body)
public ZendeskResponseException(ZendeskResponseException cause)
Copyright © 2013–2020. All rights reserved.