public class MandatoryModuleException extends ModuleMustStartException
Context#startup()
,
ModuleUtil.getMandatoryModules()
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
MandatoryModuleException(java.util.List<java.lang.String> moduleIds) |
MandatoryModuleException(java.lang.String moduleId)
This constructor is used when a user tries to stop a mandatory module.
|
MandatoryModuleException(java.lang.String moduleId,
java.lang.String extraErrorMessage)
This constructor is used when a user tries to stop a mandatory module.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getModuleId()
The id (or ids) of the module that is mandatory
|
public static final long serialVersionUID
public MandatoryModuleException(java.lang.String moduleId)
moduleId
- the module id that is trying to be stoppedpublic MandatoryModuleException(java.lang.String moduleId, java.lang.String extraErrorMessage)
moduleId
- the module id that is trying to be stoppedextraErrorMessage
- extra data to provide in the error's messagepublic MandatoryModuleException(java.util.List<java.lang.String> moduleIds)
moduleIds
- list of module ids that are mandatory and didn't startCopyright © 2018 OpenMRS Inc.. All Rights Reserved.