Class FileAccessException

All Implemented Interfaces:
Serializable

public final class FileAccessException extends ModuleException
Exception thrown when there's an error accessing files within a module.

This exception is typically thrown by FileAccess implementations when they encounter errors while accessing files, such as:

  • File not found
  • Permission denied
  • I/O errors
  • Network errors (for remote file access)
See Also:
  • Constructor Details

    • FileAccessException

      public FileAccessException(String message)
      Constructs a new FileAccessException with the specified detail message.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method)
    • FileAccessException

      public FileAccessException(String message, Throwable cause)
      Constructs a new FileAccessException with the specified detail message and cause.

      Note that the detail message associated with cause is not automatically incorporated into this exception's detail message.

      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method)
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted and indicates that the cause is nonexistent or unknown.