Search in sources :

Example 1 with AppNotConfiguredException

use of org.mifos.framework.exceptions.AppNotConfiguredException in project head by mifos.

the class ApplicationInitializer method initializeSecurity.

/**
     * This function initialize and bring up the authorization and authentication services
     *
     * @throws AppNotConfiguredException
     *             - IF there is any failures during init
     */
private void initializeSecurity() throws AppNotConfiguredException {
    try {
        ActivityMapper.getInstance().init();
        HierarchyManager.getInstance().init();
    } catch (XMLReaderException e) {
        throw new AppNotConfiguredException(e);
    } catch (ApplicationException ae) {
        throw new AppNotConfiguredException(ae);
    } catch (SystemException se) {
        throw new AppNotConfiguredException(se);
    }
}
Also used : ApplicationException(org.mifos.framework.exceptions.ApplicationException) SystemException(org.mifos.framework.exceptions.SystemException) TaskSystemException(org.mifos.framework.components.batchjobs.exceptions.TaskSystemException) XMLReaderException(org.mifos.framework.exceptions.XMLReaderException) AppNotConfiguredException(org.mifos.framework.exceptions.AppNotConfiguredException)

Aggregations

TaskSystemException (org.mifos.framework.components.batchjobs.exceptions.TaskSystemException)1 AppNotConfiguredException (org.mifos.framework.exceptions.AppNotConfiguredException)1 ApplicationException (org.mifos.framework.exceptions.ApplicationException)1 SystemException (org.mifos.framework.exceptions.SystemException)1 XMLReaderException (org.mifos.framework.exceptions.XMLReaderException)1