Added/Renamed the exceptions, that are thrown, if the rate-limit is exceeded
[facebook-errors] / src / main / java / de / juplo / facebook / errors / CustomRequestLimitReachedException.java
1 package de.juplo.facebook.errors;
2
3
4
5 /**
6  * 613: Calls to stream have exceeded the rate of 600 calls per 600 seconds.
7  * Taken from https://developers.facebook.com/docs/graph-api/advanced/rate-limiting?locale=en_US#faq
8  * I'm seeing Error Code 613, what do I do?
9  * If your error response contains error_subcode 1996, Facebook has noticed inconsistent behavior in the API request volume of your app. If you have made any recent changes that affect the number of API requests, you may be encountering this error.
10  * If you do not see the subcode, your app is exceeding a custom rate limit. Please contact your Partner Manager for help resolving this issue.
11  * @author Kai Moritz
12  */
13 public class CustomRequestLimitReachedException extends OAuthException
14 {
15   protected CustomRequestLimitReachedException(FacebookErrorMessage error)
16   {
17     super(error);
18   }
19 }