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

More structured exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 1.2
    • CLI-1.x
    • None
    • 36190

    Description

      Currently exceptions are not structured. When one is thrown, from parsing, only
      the message can be used, which means that if i want to print an error to the
      user i must use the message as is, which sometimes doesn't fit.

      The offending Option/OptionGroup should be in some exceptions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ittayd@qlusters.com Ittay Dror
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: