public class ServiceResponseException extends RuntimeException
| Constructor and Description |
|---|
ServiceResponseException(int statusCode,
String message,
com.squareup.okhttp.Response response)
Instantiates a new Service Response Exception.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Response |
getResponse()
Gets the HTTP response.
|
int |
getStatusCode()
Gets the HTTP status code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServiceResponseException(int statusCode,
String message,
com.squareup.okhttp.Response response)
statusCode - the status codemessage - the error messageresponse - the HTTP responseCopyright © 2015–2016. All rights reserved.