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:
Serializable
@Beta @GwtIncompatible 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
- Author:
- Colin Decker
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InsecureRecursiveDeleteException(@Nullable String file)
-
Method Summary
-
Methods inherited from class java.nio.file.FileSystemException
getFile, getMessage, getOtherFile, getReason
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InsecureRecursiveDeleteException
public InsecureRecursiveDeleteException(@Nullable String file)
-
-