Package org.mifosplatform.organisation.monetary.exception

Examples of org.mifosplatform.organisation.monetary.exception.OrganizationalCurrencyNotFoundException


        this.repository = repository;
    }

    public OrganisationCurrency findOneWithNotFoundDetection(final String currencyCode) {
        final OrganisationCurrency organisationCurrency = this.repository.findOneByCode(currencyCode);
        if (organisationCurrency == null) { throw new OrganizationalCurrencyNotFoundException(currencyCode); }
        return organisationCurrency;
    }
View Full Code Here

TOP

Related Classes of org.mifosplatform.organisation.monetary.exception.OrganizationalCurrencyNotFoundException

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.