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 fromRateLimiter
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestNotPermitted
createRequestNotPermitted(RateLimiter rateLimiter)
Static method to construct aRequestNotPermitted
with a RateLimiter.
-
-
-
Method Detail
-
createRequestNotPermitted
public static RequestNotPermitted createRequestNotPermitted(RateLimiter rateLimiter)
Static method to construct aRequestNotPermitted
with a RateLimiter.- Parameters:
rateLimiter
- the RateLimiter.
-
-