org.drools.rule
Class NoConsequenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.drools.RuntimeDroolsException
                  extended by org.drools.rule.RuleConstructionException
                      extended by org.drools.rule.InvalidRuleException
                          extended by org.drools.rule.NoConsequenceException
All Implemented Interfaces:
Serializable

public class NoConsequenceException
extends InvalidRuleException

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

See Also:
Serialized Form

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

NoConsequenceException

public NoConsequenceException(Rule rule)
Construct.

Parameters:
rule - The invalid Rule.


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.