Implemented exceptions for the error-codes, mentioned in the API-docs
[facebook-errors] / src / test / java / de / juplo / facebook / errors / GraphApiErrorHandlerTest.java
index f8cb142..37ab056 100644 (file)
@@ -213,7 +213,7 @@ public class GraphApiErrorHandlerTest
       clientTemplate.getForObject("ANY", SOME.class);
       fail("The expected exception was not thrown");
     }
-    catch(RateExceededException e)
+    catch(RateLimitExceededException e)
     {
       log.debug("{}", e.toString());
       assertEquals(new Integer(613), e.getCode());