FileSystemLoopException

  • FileSystemLoopException is a checked exception indicating a cycle or loop was encountered within the file system.

  • It's commonly thrown by operations like Files.walkFileTree when traversing directory structures.

  • The exception provides methods to identify the file causing the loop (getFile()).

  • It inherits methods from FileSystemException and Throwable for detailed diagnostics.

public class FileSystemLoopException extends FileSystemException

Checked exception thrown when a file system loop, or cycle, is encountered.

Public Constructor Summary

FileSystemLoopException(String file)
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public FileSystemLoopException (String file)

Constructs an instance of this class.

Parameters
file a string identifying the file causing the cycle or null if not known