On 1/30/06, Michael Neale <[EMAIL PROTECTED]> wrote:
>
> yep validation like that definately should be done with an object and a
> collection.
>
> Like you say, have a ValidationList class, and .addValidationFail() method
> that accumulates it. Exceptions generally are best avoided unless there is
> something seriously wrong. This is analagous to web frameworks where they
> have .addError() methods (like in struts for an unpleasant example).


Wouldn't hurt to have some documentation covering Drools and exceptions so
that people understand more clearly what happens when a rule throws an
exception, when that would be a good idea and when it wouldn't.


--
Geoffrey Wiseman

Reply via email to