Package org.drools.core.rule
Class NoConsequenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.drools.core.rule.RuleConstructionException
-
- org.drools.core.rule.InvalidRuleException
-
- org.drools.core.rule.NoConsequenceException
-
- All Implemented Interfaces:
Serializable
public class NoConsequenceException extends InvalidRuleException
Validity exception indicating that aRule
does not contain aConsequence
s.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoConsequenceException(RuleImpl rule)
Construct.
-
Method Summary
-
Methods inherited from class org.drools.core.rule.InvalidRuleException
getRule
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoConsequenceException
public NoConsequenceException(RuleImpl rule)
Construct.- Parameters:
rule
- The invalidRule
.
-
-