org.drools.spi
Class ConsequenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.drools.DroolsException
org.drools.FactException
org.drools.AssertionException
org.drools.spi.ConsequenceException
- All Implemented Interfaces:
- java.io.Serializable
- public class ConsequenceException
- extends AssertionException
Indicates an error during a Consequence
invokation.
- See Also:
Consequence
,
Serialized Form
-

Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConsequenceException
public ConsequenceException()
- Construct.
ConsequenceException
public ConsequenceException(java.lang.String message,
Rule rule)
ConsequenceException
public ConsequenceException(java.lang.Throwable rootCause)
- Construct with a root cause.
- Parameters:
rootCause
- The root cause of this exception.
ConsequenceException
public ConsequenceException(java.lang.Throwable rootCause,
Rule rule)
- Construct with a root cause.
- Parameters:
rootCause
- The root cause of this exception.
setRule
public void setRule(Rule rule)
getRule
public Rule getRule()