Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-282

TypeHandler should throw ParseException for an unsupported class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.5.0
    • None
    • None

    Description

      JavaDoc for TypeHandler states that createValue will

      * @throws ParseException if the value creation for the given object type failedtype

       However createValue(String str, Class<?> clazz) will return null if the clazz is unknown.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              deepy Alex Nordlund
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: