[
https://issues.apache.org/jira/browse/CLI-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Bourg updated CLI-86:
------------------------------
Component/s: (was: CLI-2.x)
CLI-1.x
Environment: (was: Operating System: other
Platform: Other)
Affects Version/s: 1.0
Fix Version/s: (was: 2.0)
1.2
Summary: More structured exceptions (was: [cli] more structured
exceptions)
Moving to CLI 1.x since it has been implemented there.
> More structured exceptions
> --------------------------
>
> Key: CLI-86
> URL: https://issues.apache.org/jira/browse/CLI-86
> Project: Commons CLI
> Issue Type: Improvement
> Components: CLI-1.x
> Affects Versions: 1.0
> Reporter: Ittay Dror
> Priority: Minor
> Fix For: 1.2
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.