Home
last modified time | relevance | path

Searched refs:pathForException (Results 1 – 2 of 2) sorted by relevance

/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DDirectoryEntry.java64 public DirectoryEntry requireExists(Path pathForException) throws NoSuchFileException { in requireExists() argument
66 throw new NoSuchFileException(pathForException.toString()); in requireExists()
77 public DirectoryEntry requireDoesNotExist(Path pathForException) in requireDoesNotExist() argument
80 throw new FileAlreadyExistsException(pathForException.toString()); in requireDoesNotExist()
92 public DirectoryEntry requireDirectory(Path pathForException) in requireDirectory() argument
94 requireExists(pathForException); in requireDirectory()
96 throw new NotDirectoryException(pathForException.toString()); in requireDirectory()
108 public DirectoryEntry requireSymbolicLink(Path pathForException) in requireSymbolicLink() argument
110 requireExists(pathForException); in requireSymbolicLink()
112 throw new NotLinkException(pathForException.toString()); in requireSymbolicLink()
DFileSystemView.java444 private void delete(DirectoryEntry entry, DeleteMode deleteMode, JimfsPath pathForException) in delete() argument
449 checkDeletable(file, deleteMode, pathForException); in delete()
491 private void checkEmpty(Directory dir, Path pathForException) throws FileSystemException { in checkEmpty() argument
493 throw new DirectoryNotEmptyException(pathForException.toString()); in checkEmpty()