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

TypeHandler should throw ParseException for an unsupported class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: