DefaultRateLimiterErrorHandler implements RateLimiterErrorHandler { @Override public void handleFetchError(String key, Exception e) { log.error("Failed retrieving rate for " + key + ", will create new rate", e); }  @Override void handleSaveError(String key, Exception e); @Override void handleFetchError(String key, Exception e); @Override void handleError(String msg, Exception e);  }
@Test public void testHandleFetchErrorShouldNotThrowException() { target.handleFetchError("key", new Exception()); }