Improve Currency.getInstance exception handling

XMLWordPrintable

        Currency.getInstance(String) can throw IllegalArgumentException with no context or message. Let's improve it. It should at least print the value of the string passed to the getInstance call.

        jshell> Currency c = Currency.getInstance("TEST")
        | Exception java.lang.IllegalArgumentException
        | at Currency.getInstance (Currency.java:321)
        | at Currency.getInstance (Currency.java:302)
        | at (#2:1)

              Assignee:
              Justin Lu
              Reporter:
              Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: