this.legacyConsequenceExceptionHandler.handleException( activation,
this.workingMemory,
e );
} else if ( this.consequenceExceptionHandler != null ) {
this.consequenceExceptionHandler.handleException( activation,
new StatefulKnowledgeSessionImpl( (ReteooWorkingMemory) this.workingMemory ),
e );
} else {
throw new RuntimeException( e );
}
}