Class 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

      All Methods Static Methods Concrete Methods 
      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