Class InvalidModuleDescriptorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.module.InvalidModuleDescriptorException
- All Implemented Interfaces:
Serializable
Thrown when reading a module descriptor and the module descriptor is found
to be malformed or otherwise cannot be interpreted as a module descriptor.
- Since:
- 9
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs anInvalidModuleDescriptorException
with no detail message.Constructs anInvalidModuleDescriptorException
with the specified detail message. -
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidModuleDescriptorException
public InvalidModuleDescriptorException()Constructs anInvalidModuleDescriptorException
with no detail message. -
InvalidModuleDescriptorException
Constructs anInvalidModuleDescriptorException
with the specified detail message.- Parameters:
msg
- The detail message; can benull
-