public class RateLimitException extends IntercomException
| Constructor and Description |
|---|
RateLimitException(ErrorCollection errorCollection) |
RateLimitException(ErrorCollection errorCollection,
int rateLimit,
int remainingRequests,
long resetTime) |
RateLimitException(ErrorCollection errorCollection,
java.lang.Throwable cause) |
RateLimitException(java.lang.String message) |
RateLimitException(java.lang.String message,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRateLimit() |
int |
getRemainingRequests() |
long |
getResetTime() |
void |
setRateLimit(int rateLimit) |
void |
setRemainingRequests(int remainingRequests) |
void |
setResetTime(long resetTime) |
getErrorCollection, getFirstError, getMessagepublic RateLimitException(java.lang.String message)
public RateLimitException(java.lang.String message,
java.lang.Throwable cause)
public RateLimitException(ErrorCollection errorCollection)
public RateLimitException(ErrorCollection errorCollection, int rateLimit, int remainingRequests, long resetTime)
public RateLimitException(ErrorCollection errorCollection, java.lang.Throwable cause)
public int getRateLimit()
public void setRateLimit(int rateLimit)
public int getRemainingRequests()
public void setRemainingRequests(int remainingRequests)
public long getResetTime()
public void setResetTime(long resetTime)