Class TooManyRequestsException

  • All Implemented Interfaces:
    java.io.Serializable

    @ThreadSafe
    public class TooManyRequestsException
    extends java.lang.Exception
    An exception used when the server has blocked the requests due to too many requests.
    Author:
    Jeremy Long
    See Also:
    Serialized Form
    • Method Summary

      • 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
    • Constructor Detail

      • TooManyRequestsException

        public TooManyRequestsException()
        Creates a new TooManyRequestsException.
      • TooManyRequestsException

        public TooManyRequestsException​(java.lang.String msg)
        Creates a new TooManyRequestsException.
        Parameters:
        msg - a message for the exception.
      • TooManyRequestsException

        public TooManyRequestsException​(java.lang.Throwable ex)
        Creates a new TooManyRequestsException.
        Parameters:
        ex - the cause of the exception.
      • TooManyRequestsException

        public TooManyRequestsException​(java.lang.String msg,
                                        java.lang.Throwable ex)
        Creates a new TooManyRequestsException.
        Parameters:
        msg - a message for the exception.
        ex - the cause of the exception.