public class APIRequestException extends Exception implements IRateLimiting
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
_gson |
| Constructor and Description |
|---|
APIRequestException(ResponseWrapper responseWrapper) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
String |
getErrorMessage() |
long |
getMsgId() |
int |
getRateLimitQuota() |
int |
getRateLimitRemaining() |
int |
getRateLimitReset() |
int |
getStatus() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic APIRequestException(ResponseWrapper responseWrapper)
public int getStatus()
public long getMsgId()
public int getErrorCode()
public String getErrorMessage()
public int getRateLimitQuota()
getRateLimitQuota in interface IRateLimitingpublic int getRateLimitRemaining()
getRateLimitRemaining in interface IRateLimitingpublic int getRateLimitReset()
getRateLimitReset in interface IRateLimitingCopyright © 2021. All rights reserved.