public class NoSuchModuleException extends ResourceDefinitionException
| Constructor and Description |
|---|
NoSuchModuleException(java.lang.String name,
ModuleType... candidateTypes)
Create a new exception.
|
| Modifier and Type | Method and Description |
|---|---|
ModuleType[] |
getCandidateTypes() |
java.lang.String |
getMessage() |
java.lang.String |
getName() |
public NoSuchModuleException(java.lang.String name,
ModuleType... candidateTypes)
name - the module name that was referenced, but could not be foundcandidateTypes - the type(s) of the module that was expected but could not be foundpublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getName()
public ModuleType[] getCandidateTypes()