Class RequestNotPermitted
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.resilience4j.ratelimiter.RequestNotPermitted
- All Implemented Interfaces:
java.io.Serializable
public class RequestNotPermitted
extends java.lang.RuntimeException
Exception that indicates that current thread was not able to acquire permission from
RateLimiter.- See Also:
- Serialized Form
-
Method Summary
Modifier and Type Method Description static RequestNotPermittedcreateRequestNotPermitted(RateLimiter rateLimiter)Static method to construct aRequestNotPermittedwith a RateLimiter.
-
Method Details
-
createRequestNotPermitted
Static method to construct aRequestNotPermittedwith a RateLimiter.- Parameters:
rateLimiter- the RateLimiter.
-