01: package org.drools.spi;
02:
03: import java.io.Serializable;
04:
05: import org.drools.WorkingMemory;
06:
07: /**
08: * Care should be taken when implementing this class. Swallowing of consequence can be dangerous
09: * if the exception occured during a WorkingMemory action, thus leaving the integrity of the
10: * WorkingMemory invalid.
11: *
12: */
13: public interface ConsequenceExceptionHandler extends Serializable {
14: void handleException(Activation activation,
15: WorkingMemory workingMemory, Exception exception);
16: }
|