for(CurrencyManager provider: providers) {
String currencyCodes[] = provider.getSupportedCurrencyCodes();
if(currencyCodes != null) {
for(String nextCurrencyCode: currencyCodes) {
if(currencyCode2AmountProvider.containsKey(nextCurrencyCode)) {
throw new BusinessLogicException("The amount provider for currency with code '" +
nextCurrencyCode + "' already exists!");
}
currencyCode2AmountProvider.put(nextCurrencyCode, provider);
}