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 07:47:30 UTC
[jira] Updated: (CLI-93) [cli] Better exception messages when
validating required fields
[ http://issues.apache.org/jira/browse/CLI-93?page=all ]
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: http://issues.apache.org/jira/browse/CLI-93
> 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:
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