org.drools.rule
Class NoConsequenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.DroolsException
              extended byorg.drools.rule.RuleConstructionException
                  extended byorg.drools.rule.InvalidRuleException
                      extended byorg.drools.rule.NoConsequenceException
All Implemented Interfaces:
Serializable

public class NoConsequenceException
extends InvalidRuleException

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

Author:
bob mcwhirter
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
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.


Copyright © 2001-2004 The Codehaus. All Rights Reserved.