FileSystemLoopException (Java SE 15 & JDK 15) (original) (raw)
All Implemented Interfaces:
[Serializable](../../io/Serializable.html "interface in java.io")
public class FileSystemLoopException extends FileSystemException
Checked exception thrown when a file system loop, or cycle, is encountered.
Since:
1.7
See Also:
Files.walkFileTree(java.nio.file.Path, java.util.Set<java.nio.file.FileVisitOption>, int, java.nio.file.FileVisitor<? super java.nio.file.Path>), Serialized Form
Constructor Summary
Constructors
Constructor | Description |
---|---|
FileSystemLoopException​(String file) | Constructs an instance of this class. |
Method Summary
Methods declared in class java.lang.Throwable
[addSuppressed](../../lang/Throwable.html#addSuppressed%28java.lang.Throwable%29), [fillInStackTrace](../../lang/Throwable.html#fillInStackTrace%28%29), [getCause](../../lang/Throwable.html#getCause%28%29), [getLocalizedMessage](../../lang/Throwable.html#getLocalizedMessage%28%29), [getStackTrace](../../lang/Throwable.html#getStackTrace%28%29), [getSuppressed](../../lang/Throwable.html#getSuppressed%28%29), [initCause](../../lang/Throwable.html#initCause%28java.lang.Throwable%29), [printStackTrace](../../lang/Throwable.html#printStackTrace%28%29), [printStackTrace](../../lang/Throwable.html#printStackTrace%28java.io.PrintStream%29), [printStackTrace](../../lang/Throwable.html#printStackTrace%28java.io.PrintWriter%29), [setStackTrace](../../lang/Throwable.html#setStackTrace%28java.lang.StackTraceElement%5B%5D%29), [toString](../../lang/Throwable.html#toString%28%29)
Constructor Details
FileSystemLoopException
public FileSystemLoopException​(String file)
Constructs an instance of this class.
Parameters:
file
- a string identifying the file causing the cycle ornull
if not known