public class RateLimitedException
extends java.lang.Exception
Constructor and Description |
---|
RateLimitedException(Route.CompiledRoute route,
long retryAfter) |
RateLimitedException(java.lang.String route,
long retryAfter) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRateLimitedRoute() |
long |
getRetryAfter() |
public RateLimitedException(Route.CompiledRoute route, long retryAfter)
public RateLimitedException(java.lang.String route, long retryAfter)