Class ManifestParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.jcputney.elearning.parser.exception.ModuleException
dev.jcputney.elearning.parser.exception.ManifestParseException
- All Implemented Interfaces:
Serializable
Exception thrown when there's an error parsing a module manifest file.
This exception is typically thrown by parser implementations when they encounter errors while parsing manifest files (e.g., imsmanifest.xml for SCORM, .crs/.des/.au/.cst for AICC, cmi5.xml for cmi5).
Common scenarios that might cause this exception include:
- Malformed XML or INI files
- Missing required elements in the manifest
- Invalid format or structure in the manifest
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionManifestParseException(String message) Constructs a new ManifestParseException with the specified detail message.ManifestParseException(String message, Throwable cause) Constructs a new ManifestParseException 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
-
ManifestParseException
Constructs a new ManifestParseException with the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
ManifestParseException
Constructs a new ManifestParseException 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.
-