Top Description Constructors Methods
com.google.common.io

public final Class InsecureRecursiveDeleteException

extends FileSystemException
Class Inheritance
Annotations
@J2ktIncompatible
@GwtIncompatible
@J2ObjCIncompatible
@ElementTypesAreNonnullByDefault
Imports
com.google.common.annotations.GwtIncompatible, .J2ktIncompatible, com.google.j2objc.annotations.J2ObjCIncompatible, java.nio.file.FileSystemException, .SecureDirectoryStream, javax.annotation.CheckForNull

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.

Author
Colin Decker
Since
21.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.nio.file.FileSystemException:
getFilegetMessagegetOtherFilegetReason

Constructor Detail

InsecureRecursiveDeleteExceptionback to summary
public InsecureRecursiveDeleteException(String file)