use of org.mifos.framework.exceptions.StartUpException in project head by mifos.
the class ConfigurationInitializer method initialize.
public void initialize() {
try {
CacheRepository cacheRepository = CacheRepository.getInstance();
cacheRepository.setSystemConfiguration(createSystemConfiguration());
cacheRepository.setOfficeCache(createOfficeCache());
} catch (SystemException se) {
throw new StartUpException(se);
} catch (ApplicationException e) {
throw new StartUpException(e);
}
}
Aggregations