try {
for (Iterator i = flushingModels.keySet().iterator(); i.hasNext();) {
id = (String) i.next();
Object flushingModel = flushingModels.get(id);
validator.validateFlushingModel(flushingModel);
}
} catch (Exception exception) {
throw new FatalCacheException(
"Unable to validate flushing model with id "
+ StringUtils.quote(id), exception);