public class ServiceResponseException
extends java.lang.RuntimeException
Constructor and Description |
---|
ServiceResponseException(int statusCode,
java.lang.String message,
okhttp3.Response response)
Instantiates a new Service Response Exception.
|
Modifier and Type | Method and Description |
---|---|
okhttp3.Response |
getResponse()
Gets the HTTP response.
|
int |
getStatusCode()
Gets the HTTP status code.
|