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;
}