Added/Renamed the exceptions, that are thrown, if the rate-limit is exceeded
authorKai Moritz <kai@juplo.de>
Mon, 9 Jul 2018 18:59:34 +0000 (20:59 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 9 Jul 2018 18:59:34 +0000 (20:59 +0200)
commit16d0e32b813d3b5456cb917eb656e79dbe7361ae
tree276754e3e0b5ffc05f7704358e69b0c0cdde98a4
parent332e6acc43a9f69e96519d26237fe5a737f2f392
Added/Renamed the exceptions, that are thrown, if the rate-limit is exceeded

 * Added new exceptions, that were introduced with version 3.0 of the
   Facebook Graph-API (or maybe with another version since 2.5).
 * Renamed the exceptions, that handle the rate-limiting, according to the
   terms used in the current documentation.
src/main/java/de/juplo/facebook/errors/AccountRequestLimitReachedException.java [new file with mode: 0644]
src/main/java/de/juplo/facebook/errors/ApplicationRequestLimitReachedException.java [new file with mode: 0644]
src/main/java/de/juplo/facebook/errors/CustomRequestLimitReachedException.java [new file with mode: 0644]
src/main/java/de/juplo/facebook/errors/GraphApiException.java
src/main/java/de/juplo/facebook/errors/PageRequestLimitReachedException.java [new file with mode: 0644]
src/main/java/de/juplo/facebook/errors/RateLimitExceededException.java [deleted file]
src/main/java/de/juplo/facebook/errors/TooManyAppCallsException.java [deleted file]
src/main/java/de/juplo/facebook/errors/TooManyUserCallsException.java [deleted file]
src/test/java/de/juplo/facebook/errors/GraphApiErrorHandlerTest.java