| Package | Description |
|---|---|
| java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessDeniedException
Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check.
|
class |
AtomicMoveNotSupportedException
Checked exception thrown when a file cannot be moved as an atomic file system operation.
|
class |
DirectoryNotEmptyException
Checked exception thrown when a file system operation fails because a directory is not empty.
|
class |
FileAlreadyExistsException
Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists.
|
class |
FileSystemLoopException
Checked exception thrown when a file system loop, or cycle, is encountered.
|
class |
NoSuchFileException
Checked exception thrown when an attempt is made to access a file that does not exist.
|
class |
NotDirectoryException
Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory.
|
class |
NotLinkException
Checked exception thrown when a file system operation fails because a file is not a symbolic link.
|