Class RequestNotPermitted
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.resilience4j.ratelimiter.RequestNotPermitted
- All Implemented Interfaces:
Serializable
Exception that indicates that current thread was not able to acquire permission from
RateLimiter.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic RequestNotPermittedcreateRequestNotPermitted(RateLimiter rateLimiter) Static method to construct aRequestNotPermittedwith a RateLimiter.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
createRequestNotPermitted
Static method to construct aRequestNotPermittedwith a RateLimiter.- Parameters:
rateLimiter- the RateLimiter.
-