public class ModuleResolutionException extends ModuleException
| Modifier and Type | Field and Description |
|---|---|
protected ModuleRequirement |
theRequirement
The ModuleRequirement that could not be met.
|
theModuleMeta| Constructor and Description |
|---|
ModuleResolutionException(ModuleMeta meta,
ModuleRequirement req,
Throwable cause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns the detail message string of this Throwable.
|
ModuleRequirement |
getModuleRequirement()
Obtain the ModuleRequirement that could not be met.
|
getModuleMetaaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected ModuleRequirement theRequirement
public ModuleResolutionException(ModuleMeta meta, ModuleRequirement req, Throwable cause)
meta - the ModuleMeta whose ModuleRequirement could not be metreq - the ModuleRequirement that could not be metcause - the Throwable that caused this Exception, if anypublic ModuleRequirement getModuleRequirement()
public String getMessage()
getMessage in class ThrowableCopyright © 2018. All rights reserved.