void delete(boolean pruneEmptyParentDirs) { try { fsResource.delete(pruneEmptyParentDirs); } catch (FileSystemException fse) { // ignore LOG.warn("Error while deleting BLOBFileValue: " + fse.getMessage()); } }
void delete(boolean pruneEmptyParentDirs) { try { fsResource.delete(pruneEmptyParentDirs); } catch (FileSystemException fse) { // ignore LOG.warn("Error while deleting BLOBFileValue: " + fse.getMessage()); } }
log.error("Error while saving locks to '" + retentionFile.getPath() + "': " + fse.getMessage()); } catch (IOException ioe) { log.error("Error while saving locks to '" + retentionFile.getPath() + "': " + ioe.getMessage());
log.error("Error while saving locks to '" + retentionFile.getPath() + "': " + fse.getMessage()); } catch (IOException ioe) { log.error("Error while saving locks to '" + retentionFile.getPath() + "': " + ioe.getMessage());
+ locksFile.getPath() + "': " + fse.getMessage()); log.debug("Root cause: ", fse); } catch (IOException ioe) {
+ locksFile.getPath() + "': " + fse.getMessage()); log.debug("Root cause: ", fse); } catch (IOException ioe) {
private FileSystem createFileSystem() { FileSystem fs = new MemoryFileSystem(); BufferedWriter writer = null; try { fs.createFolder("/"); FileSystemResource file = new FileSystemResource(fs, "/retention"); writer = new BufferedWriter(new OutputStreamWriter(file.getOutputStream())); writer.write(((NodeImpl) childN).getNodeId().toString()); } catch (FileSystemException e) { log.error(e.getMessage()); } catch (IOException e) { log.error(e.getMessage()); } finally { IOUtils.closeQuietly(writer); } return fs; }