ILOG JRules User Guide > Executing Rules > Tasks > Executing a Ruleset Using Rule Execution Server > Handling Rule Engine Exceptions in Rule Execution Server

You can handle rule engine exceptions in Rule Execution Server by setting up an exception handler.

To set up an exception handler:

?context.exceptionHandler = EXCEPTION_HANDLER;
Or, if you want to be more specific, you could use the following code instead:
exceptionHandler = EXCEPTION_HANDLER;

Related Concepts

Execution

Related Tasks

Invoking a Ruleset Using a Stateless Rule Session
Invoking a Ruleset Using a Stateful Rule Session
Invoking a Ruleset Using a Message-Driven Rule Bean