clientTemplate.getForObject("ANY", SOME.class);
fail("The expected exception was not thrown");
}
- catch(CustomRequestLimitReachedException e)
+ catch(RateLimitExceededException e)
{
log.debug("{}", e.toString());
assertEquals(new Integer(613), e.getCode());