You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/07/12 09:09:31 UTC

[jira] Resolved: (CLI-86) [cli] more structured exceptions

     [ http://issues.apache.org/jira/browse/CLI-86?page=all ]
     
Henri Yandell resolved CLI-86:
------------------------------

    Resolution: Fixed

If you look at:

http://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk/src/java/org/apache/commons/cli2/OptionException.java

You'll see that the exception in CLI 2 appears to have what you want. If not, please feel free to re-open the issue.

> [cli] more structured exceptions
> --------------------------------
>
>          Key: CLI-86
>          URL: http://issues.apache.org/jira/browse/CLI-86
>      Project: Commons CLI
>         Type: Improvement

>  Environment: Operating System: other
> Platform: Other
>     Reporter: Ittay Dror
>     Priority: Minor
>      Fix For: 2.0

>
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org