commit | b0e5963793d8980b349f8e553067c19fd31601c5 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Feb 12 16:51:53 2010 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Feb 12 16:51:53 2010 -0800 |
tree | 337d982e59f897770137ef087535f6127149bc2f | |
parent | 4b7692c57a135501e0494cfbfd905e084d2fb79f [diff] |
Throw IllegalArgumentException if Currency.getInstance is given an invalid currency code. This fixes an existing harmony DecimalFormatSymbolsTest failure, but I've added an explicit test for clarity (and to reduce the likelihood of regression).