## Uses of Class
java.nio.file.FileSystemException

- Packages that use FileSystemException
  Package | Description
  --- | ---
  java.nio.file | Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.

- - ### Uses of FileSystemException in java.nio.file

    Subclasses of FileSystemException in java.nio.file
    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.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2019, Oracle and/or its affiliates. All rights reserved.