# Uses of Class
org.jboss.modules.ModuleLoadException

Packages that use ModuleLoadException
Package
Description
org.jboss.modules
The primary JBoss Modules API.
org.jboss.modules.xml

## Uses of ModuleLoadException in org.jboss.modules

Subclasses of ModuleLoadException in org.jboss.modules
Modifier and Type
Class
Description
`class`
`ModuleNotFoundException`
Module not found exceptions are thrown when no module loaders can locate a module which fulfills a given module identifier.
Methods in org.jboss.modules that return ModuleLoadException
Modifier and Type
Method
Description
`ModuleLoadException`
ModuleLoadError.`toException()`
Convert to a checked exception type.
Methods in org.jboss.modules that throw ModuleLoadException
Modifier and Type
Method
Description
`protected ModuleSpec`
ClassifyingModuleLoader.`findModule(String name)`
Find a Module's specification in this ModuleLoader by its name.
`ModuleSpec`
FileSystemClassPathModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
`ModuleSpec`
JarModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
Deprecated.
`ModuleSpec`
LocalModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
`default ModuleSpec`
ModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
Find a module specification for the given name.
`default ModuleSpec`
ModuleFinder.`findModule(ModuleIdentifier moduleIdentifier, ModuleLoader delegateLoader)`
Deprecated, for removal: This API element is subject to removal in a future version.
Implement `ModuleFinder.findModule(String, ModuleLoader)` instead.
`protected ModuleSpec`
ModuleLoader.`findModule(String name)`
Find a Module's specification in this ModuleLoader by its name.
`protected ModuleSpec`
ModuleLoader.`findModule(ModuleIdentifier moduleIdentifier)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleLoader.findModule(String)` instead.
`ModuleSpec`
ResourceLoaderModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
`Set<String>`
Module.`getImportedPaths()`
Get the (unmodifiable) set of paths which are imported into this module class loader, including local paths.
`Module`
Module.`getModule(String name)`
Get the module with the given identifier from the module loader used by this module.
`Module`
Module.`getModule(ModuleIdentifier identifier)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `Module.getModule(String)` instead.
`static Module`
Module.`getModuleFromCallerModuleLoader(String name)`
Get a module from the current module loader.
`static Module`
Module.`getModuleFromCallerModuleLoader(ModuleIdentifier identifier)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `Module.getModuleFromCallerModuleLoader(String)` instead.
`Iterator<Resource>`
Module.`globResources(String glob)`
Enumerate all imported resources in this module which match the given glob expression.
`Iterator<Resource>`
Module.`iterateResources(PathFilter filter)`
Enumerate all the imported resources in this module, subject to a path filter.
`static Class<?>`
Module.`loadClassFromBootModuleLoader(String name, String className)`
Load a class from a module in the system module loader.
`static Class<?>`
Module.`loadClassFromBootModuleLoader(ModuleIdentifier moduleIdentifier, String className)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `Module.loadClassFromBootModuleLoader(String, String)` instead.
`static Class<?>`
Module.`loadClassFromCallerModuleLoader(String name, String className)`
Load a class from a module in the caller's module loader.
`static Class<?>`
Module.`loadClassFromCallerModuleLoader(ModuleIdentifier moduleIdentifier, String className)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `Module.loadClassFromCallerModuleLoader(String, String)` instead.
`final Module`
ModuleLoader.`loadModule(String name)`
Load a module based on an identifier.
`final Module`
ModuleLoader.`loadModule(ModuleIdentifier identifier)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleLoader.loadModule(String)` instead.
`protected final Module`
ModuleLoader.`loadModuleLocal(String name)`
Try to load a module from this module loader.
`protected final Module`
ModuleLoader.`loadModuleLocal(ModuleIdentifier moduleIdentifier)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleLoader.loadModuleLocal(String)` instead.
`static <S> ServiceLoader<S>`
Module.`loadServiceFromCallerModuleLoader(String name, Class<S> serviceType)`
Load a service loader from a module in the caller's module loader.
`static <S> ServiceLoader<S>`
Module.`loadServiceFromCallerModuleLoader(ModuleIdentifier identifier, Class<S> serviceType)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `Module.loadServiceFromCallerModuleLoader(String, Class)` instead.
`static ModuleSpec`
LocalModuleFinder.`parseModuleXmlFile(String name, ModuleLoader delegateLoader, File... roots)`
Parse a `module.xml` file and return the corresponding module specification.
`static ModuleSpec`
LocalModuleFinder.`parseModuleXmlFile(ModuleIdentifier identifier, ModuleLoader delegateLoader, File... roots)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `LocalModuleFinder.parseModuleXmlFile(String, ModuleLoader, File...)` instead.
`protected Module`
ModuleLoader.`preloadExportedModule(String name)`
Preload an "exported" module based on an identifier.
`protected Module`
ModuleLoader.`preloadExportedModule(ModuleIdentifier identifier)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleLoader.preloadModule(String)` instead.
`protected Module`
ClassifyingModuleLoader.`preloadModule(String name)`
Preload a module based on an identifier.
`protected Module`
DelegatingModuleLoader.`preloadModule(String name)`
Preload the named module.
`protected Module`
ModuleLoader.`preloadModule(String name)`
Preload a module based on an identifier.
`protected static Module`
ModuleLoader.`preloadModule(String name, ModuleLoader moduleLoader)`
Utility method to delegate to another module loader, accessible from subclasses.
`protected Module`
ModuleLoader.`preloadModule(ModuleIdentifier identifier)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleLoader.preloadModule(String)` instead.
`protected static Module`
ModuleLoader.`preloadModule(ModuleIdentifier identifier, ModuleLoader moduleLoader)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleLoader.preloadModule(String, ModuleLoader)` instead.
`protected void`
ModuleLoader.`relink(Module module)`
Relinks the dependencies associated with the specified Module.
`protected void`
ModuleLoader.`setAndRelinkDependencies(Module module, List<DependencySpec> dependencies)`
Replaces the dependencies for the specified module and relinks against the new modules This is an advanced method that should be used carefully, since it alters a live module.

## Uses of ModuleLoadException in org.jboss.modules.xml

Methods in org.jboss.modules.xml that throw ModuleLoadException
Modifier and Type
Method
Description
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleLoader moduleLoader, String moduleName, File root, File moduleInfoFile)`
Parse a `module.xml` file.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, File root, File moduleInfoFile)`
Deprecated.
Use `ModuleXmlParser.parseModuleXml(ModuleLoader, String, File, File)` instead.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, String moduleName)`
Parse a `module.xml` file.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier)`
Deprecated.
Use `ModuleXmlParser.parseModuleXml(ResourceRootFactory, String, InputStream, String, ModuleLoader, String)` instead.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, MavenResolver mavenResolver, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, String moduleName)`
Parse a `module.xml` file.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, MavenResolver mavenResolver, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier)`
Deprecated.
Use `ModuleXmlParser.parseModuleXml(ResourceRootFactory, MavenResolver, String, InputStream, String, ModuleLoader, String)` instead.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, ModuleLoader moduleLoader, String moduleName, File root, File moduleInfoFile)`
Parse a `module.xml` file.