2010/10/30 Tina Vießmann tviessm...@stud.hs-bremen.de
And how do I catch the exceptions occurring while processing and executing
the rules?
From my home page http://members.inode.at/w.laun/: How to Implement Custom
Consequence Exception
Remember that errors while processing the rules occur when you insert/update
facts (when the LHS of the rules is evaluated). Using a
ConsequenceExceptionHandler you will be able to catch only exception
occurred in the RHS of the rules (when the activations are fired).
Best,
Hi,
If you are using 5.1 or greater, you can use a KnowledgeAgentEventListener
to be notified when resource's compilation fails. You can create your own
implementation of KnowledgeAgentEventListener, or you can
use DefaultKnowledgeAgentEventListener and override just the methods you
need:
Thank you. :)
And how do I catch the exceptions occurring while processing and
executing the rules?
Hi,
If you are using 5.1 or greater, you can use
a KnowledgeAgentEventListener to be notified when resource's
compilation fails. You can create your own implementation
of