Class ModuleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.jcputney.elearning.parser.exception.ModuleException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FileAccessException, ManifestParseException, ModuleDetectionException, ModuleParsingException

Base exception class for all module-related exceptions in the elearning-module-parser library.

This class provides a foundation for a more extensible error handling framework by:

  • Establishing a common base class for all module-related exceptions
  • Providing consistent constructors and methods across all exception types

All specific exception types in the library should extend this class or one of its subclasses.

See Also:
  • Constructor Details

    • ModuleException

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

      public ModuleException(String message, Throwable cause)
      Constructs a new ModuleException with the specified detail message and cause.
      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.