Node node = findNodeByPermanentUri(permanentUri);
node.remove();
} catch (Exception e) {
_log.log(Level.INFO, "removeDigitalObject() error: " + e.getMessage(), e);
res = DOJCRConstants.RESULT_ERROR;
throw new DigitalObjectNotRemovedException("removeDigitalObject() error: ", e);
} finally {
closeSession();
}
return res;