org.drools.spi
Class ConditionException

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.ConditionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NonBooleanExprException, NonBooleanExprException, NonBooleanExprException

public class ConditionException
extends AssertionException

Indicates an error while applying a FilterCondition.

See Also:
Condition, Serialized Form

Constructor Summary
ConditionException()
          Construct.
ConditionException(Rule rule)
           
ConditionException(java.lang.String message)
           
ConditionException(java.lang.String message, Rule rule, java.lang.String info)
           
ConditionException(java.lang.Throwable rootCause)
          Construct with a root cause.
ConditionException(java.lang.Throwable rootCause, Rule rule, java.lang.String info)
          Construct with a root cause.
 
Method Summary
 Rule getRule()
           
 
Methods inherited from class org.drools.DroolsException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConditionException

public ConditionException()
Construct.


ConditionException

public ConditionException(java.lang.String message)

ConditionException

public ConditionException(java.lang.Throwable rootCause)
Construct with a root cause.

Parameters:
rootCause - The root cause of this exception.

ConditionException

public ConditionException(Rule rule)

ConditionException

public ConditionException(java.lang.String message,
                          Rule rule,
                          java.lang.String info)

ConditionException

public ConditionException(java.lang.Throwable rootCause,
                          Rule rule,
                          java.lang.String info)
Construct with a root cause.

Parameters:
rootCause - The root cause of this exception.
Method Detail

getRule

public Rule getRule()