You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/02/13 20:26:50 UTC

DO NOT REPLY [Bug 26930] New: - better exception messages when validating required fields

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26930>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26930

better exception messages when validating required fields

           Summary: better exception messages when validating required
                    fields
           Product: Commons
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: CLI
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: sonstone@cox.net


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.

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