Package org.mifosplatform.infrastructure.configuration.exception

Examples of org.mifosplatform.infrastructure.configuration.exception.GlobalConfigurationPropertyNotFoundException


        this.repository = repository;
    }

    public GlobalConfigurationProperty findOneByNameWithNotFoundDetection(final String propertyName) {
        final GlobalConfigurationProperty property = this.repository.findOneByName(propertyName);
        if (property == null) { throw new GlobalConfigurationPropertyNotFoundException(propertyName); }
        return property;
    }
View Full Code Here


        return property;
    }

    public GlobalConfigurationProperty findOneWithNotFoundDetection(final Long configId) {
        final GlobalConfigurationProperty property = this.repository.findOne(configId);
        if (property == null) { throw new GlobalConfigurationPropertyNotFoundException(configId); }
        return property;
    }
View Full Code Here

TOP

Related Classes of org.mifosplatform.infrastructure.configuration.exception.GlobalConfigurationPropertyNotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.