Fix nemo-sonar build errors.
[nemo.git] / nemo-impl / src / main / java / org / opendaylight / nemo / intent / computation / VNComputationUnit.java
index 06dd2d2e3d78e8d070f9e031efcf64a4b651c8c2..b6da4d314bef66acf507637bf6b376ee29aa8c2c 100644 (file)
@@ -352,7 +352,12 @@ public class VNComputationUnit implements AutoCloseable {
 \r
             try {\r
                 result = readWriteTransaction.read(LogicalDatastoreType.CONFIGURATION, virtualRouteIid).get();\r
-            } catch ( InterruptedException | ExecutionException exception ) {\r
+            } catch ( InterruptedException exception ) {\r
+                LOG.error("Can not read the virtual route from the virtual node {} to {}.",\r
+                        route.getKey().getSrcNodeId().getValue(), route.getKey().getDestNodeId().getValue());\r
+\r
+                continue;\r
+            } catch ( ExecutionException exception ) {\r
                 LOG.error("Can not read the virtual route from the virtual node {} to {}.",\r
                         route.getKey().getSrcNodeId().getValue(), route.getKey().getDestNodeId().getValue());\r
 \r