Class RateLimitException

All Implemented Interfaces:
Serializable

public class RateLimitException extends SendlyException
Thrown when the rate limit is exceeded.
See Also:
  • Constructor Details

    • RateLimitException

      public RateLimitException(String message)
    • RateLimitException

      public RateLimitException(String message, int retryAfter)
  • Method Details

    • getRetryAfter

      public int getRetryAfter()
      Get the number of seconds to wait before retrying.