org.openmrs.module
Class OpenmrsCoreModuleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openmrs.module.ModuleMustStartException
org.openmrs.module.OpenmrsCoreModuleException
- All Implemented Interfaces:
- java.io.Serializable
public class OpenmrsCoreModuleException
- extends ModuleMustStartException
This error is thrown when OpenMRS is started but there is a module that is core to OpenMRS
and that module is not present or did not start
This error is also thrown when trying to stop a module that is marked as core.
- See Also:
Context#startup()
,
ModuleUtil.startup(java.util.Properties)
,
ModuleConstants.CORE_MODULES
,
Serialized Form
Method Summary |
java.util.Map<java.lang.String,java.lang.String> |
getModules()
The module ids that caused this exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
OpenmrsCoreModuleException
public OpenmrsCoreModuleException(java.lang.String moduleId)
- This constructor is used when a user tries to stop a core module.
- Parameters:
moduleId
- the module id that is trying to be stopped
OpenmrsCoreModuleException
public OpenmrsCoreModuleException(java.util.Map<java.lang.String,java.lang.String> modules)
- Parameters:
moduleIds
- map from module id to version that is core and didn't start
getModules
public java.util.Map<java.lang.String,java.lang.String> getModules()
- The module ids that caused this exception
- Returns:
- the module ids that caused this exception
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change