APIdia Launch Partner
Top Description Fields Constructors
java.lang.module

public Class InvalidModuleDescriptorException

extends RuntimeException
Class Inheritance

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
ModuleDescriptor#read

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidModuleDescriptorException()

Constructs an InvalidModuleDescriptorException with no detail message.

public
InvalidModuleDescriptorException(String
The detail message; can be null
msg
)

Constructs an InvalidModuleDescriptorException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Annotations
@Serial

Constructor Detail

InvalidModuleDescriptorExceptionback to summary
public InvalidModuleDescriptorException()

Constructs an InvalidModuleDescriptorException with no detail message.

InvalidModuleDescriptorExceptionback to summary
public InvalidModuleDescriptorException(String msg)

Constructs an InvalidModuleDescriptorException with the specified detail message.

Parameters
msg:String

The detail message; can be null