Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1302

Display class and value of unconvertable object in IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.1.4-SNAPSHOT
    • 1.1.4
    • None
    • None

    Description

      Display class and value of object during a failed conversion attempt in IllegalArgumentException so it is more obvious why the error occurred.

      Add after "Value is no String" the string "(class=" + value.getClass().getName() + ", value=" + value + ") "

      Attachments

        Activity

          People

            mkienenb Mike Kienenberger
            mkienenb Mike Kienenberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: