Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2834

Fix NumberformatException message in hexCharToValue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.5.0
    • 3.6.0
    • General
    • None

    Description

      The Misc.hex2Bytes function makes use of the hexCharToValue function, which limits character values to the numbers 0-9, capital A-F, and lowercase a-f. However, the NumberFormatException thrown for values outside of this range has the message "Hex character must be 0-9, a-z, or A-Z, but was ". This should be "Hex character must be 0-9, a-f, or A-F, but was ".

      Attachments

        Activity

          People

            pkatlic Peter Katlic
            pkatlic Peter Katlic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: