@Override public URI listParent(URI uri) { URI parent = CoreFS2Utils.parseParentURI(uri); // rather than simply parse, check for existence try { return objectResolver.get(parent).metadata.getURI(); } catch (Exception e) { throw new RuntimeException("Unable to find parent.", e); } }