commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] Updated: (CLI-93) [cli] Better exception messages when validating required fields
Date Wed, 12 Jul 2006 05:47:30 GMT
     [ ]

Henri Yandell updated CLI-93:

    Bugzilla Id:   (was: 26930)
    Fix Version: 2.0

Seems easy enough to look into for 2.0. Seem to recall there's another one asking that the
exception's thrown contain the Option objects etc.

> [cli] Better exception messages when validating required fields
> ---------------------------------------------------------------
>          Key: CLI-93
>          URL:
>      Project: Commons CLI
>         Type: Improvement

>     Versions: 1.0
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Daniel Spangler
>     Priority: Minor
>      Fix For: 2.0

> If the exception messages when required fields aren't found were worded a bit 
> better, it would prevent users of this API from having to regenerate messages 
> to their users on what went wrong.  As it is now, the exception message just 
> states the names of the options that were not found.  If this message contained 
> some phrase stating something like: "The following required fields were not 
> found: -r, -g.", then we could just pass the exception message on to the user.  
> A better way to approach the problem might be some sort of way to customize 
> common error messages as long as it was done in a way that would reduce the 
> amount of coding needed by the user of the API.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message