java.io.Serializablepublic class AlpacaAPIException
extends java.lang.Exception
| Constructor | Description |
|---|---|
AlpacaAPIException(com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> httpResponse) |
Instantiates a new alpaca API exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getAlpacaResponseCode() |
Gets the alpaca response code.
|
java.lang.String |
getAlpacaResponseMessage() |
Gets the alpaca response message.
|
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() |
public AlpacaAPIException(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 getAlpacaResponseCode()
public java.lang.String getAlpacaResponseMessage()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable