FailedToDeleteDocument
20822083208420852086208720882089
{ throw se; } catch (Exception e) { throw new FailedToDeleteDocumentException("Link " + link.getPath() + " not removed.", e); } }
22282229223022312232223322342235
{ throw se; } catch (Exception e) { throw new FailedToDeleteDocumentException("Document " + pageSecurity.getPath() + " not removed.", e); } }
15291530153115321533153415351536
16781679168016811682168316841685
605606607608609610611612613614615
fileName = path + this.documentType; } File file = new File(this.documentRootDir, fileName); if (!file.delete()) { throw new FailedToDeleteDocumentException(file.getAbsolutePath()+" document cannot be deleted."); } // remove from cache fileCache.remove(path);
601602603604605606607608609610611
620621622623624625626627628629630
566567568569570571572573574575576
15281529153015311532153315341535
16771678167916801681168216831684