[jboss-svn-commits] JBL Code SVN: r35310 - labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Sep 27 08:53:23 EDT 2010
Author: eaa
Date: 2010-09-27 08:53:23 -0400 (Mon, 27 Sep 2010)
New Revision: 35310
Modified:
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/DefaultAgenda.java
Log:
JBRULES-2679: Modularize Drools Flow
- The current KnowledgeRuntime should be passed to the ConsequenceExceptionHandler, and not a copy of it.
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/DefaultAgenda.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/DefaultAgenda.java 2010-09-27 12:45:52 UTC (rev 35309)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/DefaultAgenda.java 2010-09-27 12:53:23 UTC (rev 35310)
@@ -924,8 +924,7 @@
this.workingMemory,
e );
} else if ( this.consequenceExceptionHandler != null ) {
- this.consequenceExceptionHandler.handleException( activation,
- new StatefulKnowledgeSessionImpl( (ReteooWorkingMemory) this.workingMemory ),
+ this.consequenceExceptionHandler.handleException( activation, this.workingMemory.getKnowledgeRuntime(),
e );
} else {
throw new RuntimeException( e );
More information about the jboss-svn-commits
mailing list