java.io.Serializable
public class PolygonAPIException
extends java.lang.Exception
Constructor | Description |
---|---|
PolygonAPIException(com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> httpResponse) |
Instantiates a new polygon API exception.
|
Modifier and Type | Method | Description |
---|---|---|
com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> |
getHttpResponse() |
Gets the http response.
|
int |
getHttpResponseCode() |
Gets the http response code.
|
java.lang.String |
getHttpResponseMessage() |
Gets the http response message.
|
java.lang.String |
getMessage() |
|
int |
getPolygonResponseCode() |
Gets the polygon response code.
|
java.lang.String |
getPolygonResponseMessage() |
Gets the polygon response message.
|
public PolygonAPIException(com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> httpResponse)
httpResponse
- the http responsepublic com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> getHttpResponse()
public int getHttpResponseCode()
public java.lang.String getHttpResponseMessage()
public int getPolygonResponseCode()
public java.lang.String getPolygonResponseMessage()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable