How to catch and handle exceptions at individual rule level in Drools?
Aim is that exceptions at a single rule should not impact the execution of the rest of the rules.
I know that we can use try catch in RHS, but can we have a control at much higher level irrespective of what LHS or RHS is.
Something like:
fireAllRules( new DefaultAgendaEventListener() {
@Override
public void whenExceptionAtRule(Exception exception) {
//handle exception when
}
})