return transaction.read(logicalDatastoreType, connectionIid).get();
} catch (InterruptedException | ExecutionException e) {
LOG.error("Read failed from datastore for Node : {}",connectionIid,e);
- throw new RuntimeException(e);
+ throw new IllegalStateException(e);
}
}
return transaction.read(logicalDatastoreType, connectionIid).get();
} catch (InterruptedException | ExecutionException e) {
LOG.error("Read failed from datastore for Node : {}",connectionIid,e);
- throw new RuntimeException(e);
+ throw new IllegalStateException(e);
}
}
return transaction.read(logicalDatastoreType, connectionIid).get();
} catch (InterruptedException | ExecutionException e) {
LOG.error("Read failed from datastore for Node : {}",connectionIid,e);
- throw new RuntimeException(e);
+ throw new IllegalStateException(e);
}
}