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.RuntimeExceptionException that indicates that current thread was not able to acquire permission fromRateLimiter.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestNotPermittedcreateRequestNotPermitted(RateLimiter rateLimiter)Static method to construct aRequestNotPermittedwith a RateLimiter.
-
-
-
Method Detail
-
createRequestNotPermitted
public static RequestNotPermitted createRequestNotPermitted(RateLimiter rateLimiter)
Static method to construct aRequestNotPermittedwith a RateLimiter.- Parameters:
rateLimiter- the RateLimiter.
-
-