Network topology and inventory init
[transportpce.git] / renderer / src / main / java / org / opendaylight / transportpce / renderer / provisiondevice / tasks / RollbackProcessor.java
index 709fc170afc25d08a90a21bd918a8cf625fbe03f..0405432a3958731efa3b54b42673be63c340bc7c 100644 (file)
@@ -60,6 +60,7 @@ public class RollbackProcessor {
      * @return
      *   number of tasks rolled back
      */
+    @SuppressWarnings("checkstyle:IllegalCatch")
     public int rollbackAll() {
         int rollbackCounter = 0;
         while (this.tasks.size() > 0) {
@@ -68,6 +69,7 @@ public class RollbackProcessor {
             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);
             }