Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5057689

UUID.fromString throws NumberFormatException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P5 P5
    • None
    • 5.0
    • core-libs
    • sparc
    • solaris_9

      The fromString method throws a NumberFormatException from java.lang.Long. Perhaps it should throw IllegalArgumentException instead even though NFE does extend IAE. The information from Long could be passed along or the NFE could be set as the cause.

            mduigou Mike Duigou
            mmcclosksunw Michael Mccloskey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: