[
https://jira.jboss.org/jira/browse/JBSEAM-4049?page=com.atlassian.jira.pl...
]
Tihomir Surdilovic commented on JBSEAM-4049:
--------------------------------------------
Allowed to be added with new consequence-exception-handler attribute on drools:rule-base
as for example:
<drools:rule-base name="ruleBase" rule-files="numberguess.drl"
consequence-exception-handler="#{gameConsequenceExceptionHandler}"/>
Drools Custom Consequence Exception handlers
--------------------------------------------
Key: JBSEAM-4049
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4049
Project: Seam
Issue Type: Feature Request
Components: Drools
Affects Versions: 2.1.1.GA
Reporter: Tihomir Surdilovic
Assignee: Tihomir Surdilovic
Allow to specify a custom user defined handler for consequence exceptions in
components.xml. For example:
<drools:rule-base name="securityRules">
<drools:rule-files><value>/security.drl</value></drools:rule-files>
<drools:consequence-exception-handler><value>myCustomHandler</value</drools:consequence-exception-handler>
</drools:rule-base>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira