Package com.xero.api

Class XeroMinuteRateLimitException

    • Constructor Detail

      • XeroMinuteRateLimitException

        public XeroMinuteRateLimitException​(int statusCode,
                                            Integer appLimitRemaining,
                                            Integer dayLimitRemaining,
                                            Integer minuteLimitRemaining,
                                            Long retryAfterSeconds,
                                            String message,
                                            Exception e)
        Init Xero Minute Rate Limit Exception
        Parameters:
        statusCode - int the server status code returned.
        appLimitRemaining - Integer the number of calls remaining for app limit
        dayLimitRemaining - Integer the number of calls in a 24 hour rolling window remain for an org
        minuteLimitRemaining - Integer the number of calls in a 60 second rolling window remain for an org
        retryAfterSeconds - Long the number of seconds to wait before resuming API calls
        message - String the message pertaining to the rate limit
        e - Exception object with details about the original exception