Class RateLimitExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.omnifaces.cdi.ratelimit.RateLimitExceededException
All Implemented Interfaces:
Serializable

public class RateLimitExceededException extends RuntimeException
Thrown when rate limit has exceeded according to RateLimiter.
Since:
5.0
Author:
Bauke Scholtz
See Also:
  • Constructor Details

    • RateLimitExceededException

      public RateLimitExceededException(String clientId, long recommendedDelayInMillis)
  • Method Details

    • getRecommendedDelayInMillis

      public long getRecommendedDelayInMillis()