org.drools.spi
Class ConsequenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.DroolsException
              extended byorg.drools.FactException
                  extended byorg.drools.AssertionException
                      extended byorg.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
 

Constructor Summary
ConsequenceException()
          Construct.
ConsequenceException(java.lang.String message, Rule rule)
           
ConsequenceException(java.lang.Throwable rootCause)
          Construct with a root cause.
ConsequenceException(java.lang.Throwable rootCause, Rule rule)
          Construct with a root cause.
 
Method Summary
 Rule getRule()
           
 void setRule(Rule rule)
           
 
Methods inherited from class org.drools.DroolsException
getLocalizedMessage, getMessage, getRootCause, printStackTrace, printStackTrace
 
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
 

Constructor Detail

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.
Method Detail

setRule

public void setRule(Rule rule)

getRule

public Rule getRule()