/** * Deletes this file, once all its children have been deleted * * @return true if this file has been deleted * @throws FileSystemException if an error occurs. */ private boolean deleteSelf() throws FileSystemException { synchronized (fs) { // Its possible to delete a read-only file if you have write-execute access to the directory /* * VFS-210 if (getType() == FileType.IMAGINARY) { // File does not exist return false; } */ try { // Delete the file doDelete(); // Update cached info handleDelete(); } catch (final RuntimeException re) { throw re; } catch (final Exception exc) { throw new FileSystemException("vfs.provider/delete.error", exc, fileName); } return true; } }
/** * Deletes this file, once all its children have been deleted * * @return true if this file has been deleted * @throws FileSystemException if an error occurs. */ private boolean deleteSelf() throws FileSystemException { synchronized (monitorLock) { //Its possible to delete a read-only file if you have write-execute access to the directory /* * VFS-210 if (getType() == FileType.IMAGINARY) { // File does not exist return false; } */ try { // Delete the file doDelete(); // Update cached info handleDelete(); } catch (final RuntimeException re) { throw re; } catch (final Exception exc) { throw new FileSystemException("vfs.provider/delete.error", exc, fileName); } return true; } }
/** * Deletes this file, once all its children have been deleted * * @return true if this file has been deleted * @throws FileSystemException if an error occurs. */ private boolean deleteSelf() throws FileSystemException { synchronized (fileSystem) { // Its possible to delete a read-only file if you have write-execute access to the directory /* * VFS-210 if (getType() == FileType.IMAGINARY) { // File does not exist return false; } */ try { // Delete the file doDelete(); // Update cached info handleDelete(); } catch (final RuntimeException re) { throw re; } catch (final Exception exc) { throw new FileSystemException("vfs.provider/delete.error", exc, fileName); } return true; } }
handleDelete(); // fire delete-events. This file-object (src) is like deleted.
handleDelete(); // fire delete-events. This file-object (src) is like deleted. } catch (final RuntimeException re) { throw re;
handleDelete(); // fire delete-events. This file-object (src) is like deleted. } catch (final RuntimeException re) { throw re;
handleDelete(); // fire delete-events. This file-object (src) is like deleted. } catch (final RuntimeException re) { throw re;