org.drools.spi
Class ConsequenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.drools.DroolsException
              extended by org.drools.FactException
                  extended by org.drools.AssertionException
                      extended by org.drools.spi.ConsequenceException
All Implemented Interfaces:
Serializable

public class ConsequenceException
extends AssertionException

Indicates an error during a Consequence invokation.

Author:
bob mcwhirter
See Also:
Consequence, Serialized Form

Constructor Summary
ConsequenceException()
          Construct.
ConsequenceException(String message, Rule rule)
           
ConsequenceException(Throwable rootCause)
          Construct with a root cause.
ConsequenceException(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(String message,
                            Rule rule)

ConsequenceException

public ConsequenceException(Throwable rootCause)
Construct with a root cause.

Parameters:
rootCause - The root cause of this exception.

ConsequenceException

public ConsequenceException(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()


Copyright © 2001-2005 The Codehaus. All Rights Reserved.