\r
try {\r
result = readWriteTransaction.read(LogicalDatastoreType.CONFIGURATION, userVnPnMappingIid).get();\r
- } catch ( InterruptedException | ExecutionException exception ) {\r
+ } catch ( InterruptedException exception ) {\r
+ throw new IntentResolutionException("Can not read the vn-pn mapping results for the user " +\r
+ userId.getValue() + ".");\r
+ } catch ( ExecutionException exception ) {\r
throw new IntentResolutionException("Can not read the vn-pn mapping results for the user " +\r
userId.getValue() + ".");\r
}\r
\r
try {\r
result = readWriteTransaction.read(LogicalDatastoreType.CONFIGURATION, userIid).get();\r
- } catch ( InterruptedException | ExecutionException exception ) {\r
+ } catch ( InterruptedException exception ) {\r
+ throw new IntentResolutionException("Can not read the data of the user " +\r
+ userId.getValue() + ".");\r
+ } catch ( ExecutionException exception ) {\r
throw new IntentResolutionException("Can not read the data of the user " +\r
userId.getValue() + ".");\r
}\r