org.drools.rule
Class InvalidRuleException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoConsequenceException, NoParameterDeclarationException

public class InvalidRuleException
extends RuleConstructionException

Indicates an error regarding the semantic validity of a rule.

Author:
bob mcwhirter
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
InvalidRuleException(Rule rule)
          Construct.
 
Method Summary
 Rule getRule()
          Retrieve the invalid Rule.
 
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

InvalidRuleException

public InvalidRuleException(Rule rule)
Construct.

Parameters:
rule - The invalid Rule.
Method Detail

getRule

public Rule getRule()
Retrieve the invalid Rule.

Returns:
The invalid Rule.


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