Class InsecureRecursiveDeleteException

All Implemented Interfaces:
Serializable

public final class InsecureRecursiveDeleteException extends FileSystemException
Exception indicating that a recursive delete can't be performed because the file system does not have the support necessary to guarantee that it is not vulnerable to race conditions that would allow it to delete files and directories outside of the directory being deleted (i.e., SecureDirectoryStream is not supported).

RecursiveDeleteOption.ALLOW_INSECURE can be used to force the recursive delete method to proceed anyway.

Since:
21.0
See Also:
  • Constructor Details

    • InsecureRecursiveDeleteException

      public InsecureRecursiveDeleteException(@CheckForNull String file)