try {
String xml = this.getConfigManager().getConfigItem(JpmyportalplusSystemConstants.MYPORTALPLUS_CONFIG_ITEM);
if (xml == null) {
throw new ApsSystemException("Missing configuration item: "+ JpmyportalplusSystemConstants.MYPORTALPLUS_CONFIG_ITEM);
}
MyPortalPlusConfigDOM configDom = new MyPortalPlusConfigDOM();
this.setConfig(configDom.extractConfig(xml));
} catch (Throwable t) {
ApsSystemUtils.logThrowable(t, this, "loadConfig");
throw new ApsSystemException("Error during initialization", t);
}
}