"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/webdav/resource/DocumentResource.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

DocumentResource.java  (OpenKM-document-management-system-6.3.10):DocumentResource.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 136 skipping to change at line 136
throw new RuntimeException("Failed to update content: " + doc.getPath()); throw new RuntimeException("Failed to update content: " + doc.getPath());
} catch (AccessDeniedException e) { } catch (AccessDeniedException e) {
log.error("AccessDeniedException: " + e.getMessage(), e); log.error("AccessDeniedException: " + e.getMessage(), e);
throw new RuntimeException("Failed to update content: " + doc.getPath()); throw new RuntimeException("Failed to update content: " + doc.getPath());
} catch (RepositoryException e) { } catch (RepositoryException e) {
log.error("RepositoryException: " + e.getMessage(), e); log.error("RepositoryException: " + e.getMessage(), e);
throw new RuntimeException("Failed to update content: " + doc.getPath()); throw new RuntimeException("Failed to update content: " + doc.getPath());
} catch (DatabaseException e) { } catch (DatabaseException e) {
log.error("DatabaseException: " + e.getMessage(), e); log.error("DatabaseException: " + e.getMessage(), e);
throw new RuntimeException("Failed to update content: " + doc.getPath()); throw new RuntimeException("Failed to update content: " + doc.getPath());
} finally { } catch (LockException e) {
log.error("LockException: " + e.getMessage(), e);
throw new RuntimeException("Failed to update content: " + doc.getPat
h());
} finally {
IOUtils.closeQuietly(is); IOUtils.closeQuietly(is);
} }
} }
@Override @Override
public void delete() throws NotAuthorizedException, ConflictException, Ba dRequestException { public void delete() throws NotAuthorizedException, ConflictException, Ba dRequestException {
log.debug("delete()"); log.debug("delete()");
try { try {
String fixedDocPath = ResourceUtils.fixRepositoryPath(doc .getPath()); String fixedDocPath = ResourceUtils.fixRepositoryPath(doc .getPath());
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)