* @return
* number of tasks rolled back
*/
+ @SuppressWarnings("checkstyle:IllegalCatch")
public int rollbackAll() {
int rollbackCounter = 0;
while (this.tasks.size() > 0) {
try {
LOG.info("rolling back: {}", task.getId());
task.call();
+ //this method prototype only uses the generic Exception but no specific and useable subclass
} catch (Exception e) {
LOG.error("ERROR: Rollback task {} has failed", task.getId(), e);
}