Package tigase.licence.utils
Class TooManyRequestsHTTPException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- tigase.stats.collector.provider.HTTPException
-
- tigase.licence.utils.TooManyRequestsHTTPException
-
- All Implemented Interfaces:
java.io.Serializable
public class TooManyRequestsHTTPException extends tigase.stats.collector.provider.HTTPException- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TooManyRequestsHTTPException(int statusCode)Constructor for the TooManyRequestsHTTPExceptionTooManyRequestsHTTPException(int statusCode, int retryAfter)Constructor for the TooManyRequestsHTTPException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()intgetRetryAfter()
-
-
-
Constructor Detail
-
TooManyRequestsHTTPException
public TooManyRequestsHTTPException(int statusCode)
Constructor for the TooManyRequestsHTTPException- Parameters:
statusCode-intfor the HTTP status code
-
TooManyRequestsHTTPException
public TooManyRequestsHTTPException(int statusCode, int retryAfter)Constructor for the TooManyRequestsHTTPException- Parameters:
statusCode-intfor the HTTP status coderetryAfter-intfor the delay time after which subsequent request should be made
-
-