commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26930] New: - better exception messages when validating required fields
Date Fri, 13 Feb 2004 19:26:50 GMT
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


Mime
View raw message