Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
None
-
Operating System: other
Platform: PC
-
24369
Description
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.