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=24369>. 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=24369 Validator.validate() exception handling for ValidatorException Summary: Validator.validate() exception handling for ValidatorException Product: Commons Version: 1.0.2 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Validator AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If a validator method throws a ValidatorException, the expected behavior is that Validator.validate() will rethrow the exception. The actual behavior is that a "false" is returned instead. This masks exceptions as rule failures. Users of the framework need to be able to distinguish between failure to pass a validation rule versus an exception that occurs while executing a rule. Failure to pass validation is a "normal" occurrance that is correctible by changing the data. An exception that occurs while executing a rule is not normal, could be caused by a configuration problem or other system problem, and cannot be corrected by corrections to the data. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
