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 RequestNotPermitted createRequestNotPermitted​(RateLimiter rateLimiter)
    Static method to construct a RequestNotPermitted with a RateLimiter.

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait