Class FileAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.jcputney.elearning.parser.exception.ModuleException
dev.jcputney.elearning.parser.exception.FileAccessException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionFileAccessException(String message) Constructs a new FileAccessException with the specified detail message.FileAccessException(String message, Throwable cause) Constructs a new FileAccessException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileAccessException
Constructs a new FileAccessException with the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
FileAccessException
Constructs a new FileAccessException with the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated into this exception's detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method)cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). A null value is permitted and indicates that the cause is nonexistent or unknown.
-