for(String browseContext : browseContexts) {
try {
browseContextResources.add(graph.getResource(browseContext));
+ } catch(ResourceNotFoundException e) {
+ // Expected result, if the browse context is not modelled.
} catch(DatabaseException e) {
- LOGGER.error("Didn't find " + browseContext + " while loading model browser.", e);
+ LOGGER.error("Unexpected error occurred while finding browse context " + browseContext + ".", e);
}
}