java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.module.InvalidModuleDescriptorException
- All Implemented Interfaces:
Serializable
public class InvalidModuleDescriptorException extends RuntimeException
Thrown when reading a module descriptor and the module descriptor is found
to be malformed or otherwise cannot be interpreted as a module descriptor.
-
Constructor Summary
Constructors Constructor Description InvalidModuleDescriptorException()
Constructs anInvalidModuleDescriptorException
with no detail message.InvalidModuleDescriptorException(String msg)
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
-