org.drools.spi
Class ConditionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.drools.DroolsException
org.drools.FactException
org.drools.AssertionException
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
-

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 |
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.
setRule
public void setRule(Rule rule)
getRule
public Rule getRule()
setInfo
public void setInfo(java.lang.String info)
- Set arbitrary extra information about the condition.
The info property may be used to communicate the actual expression text
or other information in the case that Condition does not have expression
text.
getInfo
public java.lang.String getInfo()