Package com.google.common.io
Class InsecureRecursiveDeleteException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.nio.file.FileSystemException
-
- com.google.common.io.InsecureRecursiveDeleteException
-
- All Implemented Interfaces:
java.io.Serializable
@GwtIncompatible @J2ObjCIncompatible public final class InsecureRecursiveDeleteException extends java.nio.file.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
- Author:
- Colin Decker
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InsecureRecursiveDeleteException(java.lang.String file)
-
Method Summary
-
Methods inherited from class java.nio.file.FileSystemException
getFile, getMessage, getOtherFile, getReason
-
-
-
-
Constructor Detail
-
InsecureRecursiveDeleteException
public InsecureRecursiveDeleteException(@CheckForNull java.lang.String file)
-
-