Class RateLimitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.intermine.webservice.server.exceptions.ServiceException
-
- org.intermine.webservice.server.exceptions.ServiceForbiddenException
-
- org.intermine.webservice.server.exceptions.RateLimitException
-
- All Implemented Interfaces:
java.io.Serializable
public class RateLimitException extends ServiceForbiddenException
Exception representation for denying service based on rate limits.- Author:
- Alex Kalderimis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RateLimitException(java.lang.String remoteAddr, int limitPerHour)
Constructor
-
Method Summary
-
Methods inherited from class org.intermine.webservice.server.exceptions.ServiceException
getHttpErrorCode, getMessage
-
-