Please review this PR which updates some exceptions in j.util.Currency to have an explicit error message (as opposed to nothing).
The exceptions occur in the two static `getInstance()` methods. They are thrown generally when the ISO 4217/3166 currency/country codes are in an invalid form, or do not exist. ------------- Commit messages: - line breaks - Invalid implies not length of 3 - init Changes: https://git.openjdk.org/jdk/pull/15458/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15458&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8314611 Stats: 37 lines in 2 files changed: 26 ins; 0 del; 11 mod Patch: https://git.openjdk.org/jdk/pull/15458.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15458/head:pull/15458 PR: https://git.openjdk.org/jdk/pull/15458