}
public ApplicationCurrency findOneWithNotFoundDetection(final MonetaryCurrency currency) {
final ApplicationCurrency defaultApplicationCurrency = this.repository.findOneByCode(currency.getCode());
if (defaultApplicationCurrency == null) { throw new CurrencyNotFoundException(currency.getCode()); }
final ApplicationCurrency applicationCurrency = ApplicationCurrency.from(defaultApplicationCurrency,
currency.getDigitsAfterDecimal(), currency.getCurrencyInMultiplesOf());
return applicationCurrency;