public class TwitterApiException extends TwitterException
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ERROR_CODE |
| Constructor and Description |
|---|
TwitterApiException(Response response) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Error code returned by API request.
|
String |
getErrorMessage()
Error message returned by API request.
|
Response |
getResponse() |
int |
getStatusCode() |
TwitterRateLimit |
getTwitterRateLimit() |
static ApiError |
readApiError(Response response) |
static TwitterRateLimit |
readApiRateLimit(Response response) |
public static final int DEFAULT_ERROR_CODE
public int getStatusCode()
public int getErrorCode()
public String getErrorMessage()
public TwitterRateLimit getTwitterRateLimit()
public Response getResponse()
public static TwitterRateLimit readApiRateLimit(Response response)
public static ApiError readApiError(Response response)