<div dir="ltr">Hi <div><br></div><div>I am currently writing a set of Rules to Validate Some Business Logic and if The Criteria in When clause is met throw an Exception. </div><div><br></div><div>Currently I have two rules. I use a StatelessKnowledgeSession and CommandExecutor.execute method to fire the rules.</div>
<div><br></div><div>But while testing I created a scenario to fire one of the rules and throw an exception then created another scenario to not to throw an Exception (Valid Domain Object). But in this case also it is throwing an Exception with info related to Failed Domain Object.</div>
<div><br></div><div>Regards,</div><div>Shazin Sadakath</div></div>