public String getConfigParamValue(String configParamName, boolean getConfigParamLabel) throws ALNTApplicationException, ALNTSystemException { String configParamValue = null; String configParamLabel = null; try { if (getConfigParamLabel) { ApplicationConfig applicationConfig = applicationConfigDAO.load(configParamName); if (null != applicationConfig) { configParamValue = applicationConfig.getConfigParamValue(); configParamLabel = applicationConfig.getConfigParamLabel(); } } else { configParamValue = CacheManager.getApplicationConfig(configParamName); } } catch (Exception ex) { ALNTLogger.error( this.getClass().getName(), "getConfigParamValue", "Error in loading Application config ::" + configParamName); handleException(ex); } if (getConfigParamLabel && StringUtils.isNotNullOrNotEmpty(configParamLabel)) return configParamLabel + " : " + configParamValue; return configParamValue; }