public class OpenmrsCoreModuleException extends ModuleMustStartException
Context#startup()
,
ModuleUtil.startup(java.util.Properties)
,
ModuleConstants.CORE_MODULES
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
OpenmrsCoreModuleException(java.util.Map<java.lang.String,java.lang.String> modules) |
OpenmrsCoreModuleException(java.lang.String moduleId)
This constructor is used when a user tries to stop a core module.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getModules()
The module ids that caused this exception
|
public static final long serialVersionUID
public OpenmrsCoreModuleException(java.lang.String moduleId)
moduleId
- the module id that is trying to be stoppedpublic OpenmrsCoreModuleException(java.util.Map<java.lang.String,java.lang.String> modules)
moduleIds
- map from module id to version that is core and didn't startCopyright © 2018 OpenMRS Inc.. All Rights Reserved.