AccessDeniedException |
Checked exception thrown when a file system operation is denied, typically
due to a file permission or other access check. |
AtomicMoveNotSupportedException |
Checked exception thrown when a file cannot be moved as an atomic file system
operation. |
ClosedDirectoryStreamException |
Unchecked exception thrown when an attempt is made to invoke an operation on
a directory stream that is closed. |
ClosedFileSystemException |
Unchecked exception thrown when an attempt is made to invoke an operation on
a file and the file system is closed. |
ClosedWatchServiceException |
Unchecked exception thrown when an attempt is made to invoke an operation on
a watch service that is closed. |
DirectoryIteratorException |
Runtime exception thrown if an I/O error is encountered when iterating over
the entries in a directory. |
DirectoryNotEmptyException |
Checked exception thrown when a file system operation fails because a
directory is not empty. |
FileAlreadyExistsException |
Checked exception thrown when an attempt is made to create a file or
directory and a file of that name already exists. |
FileSystemAlreadyExistsException |
Runtime exception thrown when an attempt is made to create a file system that
already exists. |
FileSystemException |
Thrown when a file system operation fails on one or two files. |
FileSystemLoopException |
Checked exception thrown when a file system loop, or cycle, is encountered. |
FileSystemNotFoundException |
Runtime exception thrown when a file system cannot be found. |
InvalidPathException |
Unchecked exception thrown when path string cannot be converted into a
Path because the path string contains invalid characters, or
the path string is invalid for other file system specific reasons. |
NoSuchFileException |
Checked exception thrown when an attempt is made to access a file that does
not exist. |
NotDirectoryException |
Checked exception thrown when a file system operation, intended for a
directory, fails because the file is not a directory. |
NotLinkException |
Checked exception thrown when a file system operation fails because a file
is not a symbolic link. |
ProviderMismatchException |
Unchecked exception thrown when an attempt is made to invoke a method on an
object created by one file system provider with a parameter created by a
different file system provider. |
ProviderNotFoundException |
Runtime exception thrown when a provider of the required type cannot be found. |
ReadOnlyFileSystemException |
Unchecked exception thrown when an attempt is made to update an object
associated with a read-only FileSystem . |