{@link Currency#getInstance(String)} will throw a rather uninformative{@link IllegalArgumentException} if the currency code is not recognized.{@link CurrencyCodeParser#parse(String)} will map outdated currencies to theirmodern equivalents, and throws an {@link UnknownCurrencyCodeException} withthe offending currency code front and center.
@author coda
|
|
|
|