org.drools.rule
Class NoConsequenceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.drools.DroolsException
                    |
                    +--org.drools.rule.RuleConstructionException
                          |
                          +--org.drools.rule.InvalidRuleException
                                |
                                +--org.drools.rule.NoConsequenceException
All Implemented Interfaces:
java.io.Serializable

public class NoConsequenceException
extends InvalidRuleException

Validity exception indicating that a Rule does not contain a Consequences.

Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
NoConsequenceException(Rule rule)
          Construct.
 
Methods inherited from class org.drools.rule.InvalidRuleException
getRule
 
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

NoConsequenceException

public NoConsequenceException(Rule rule)
Construct.

Parameters:
rule - The invalid Rule.