Drools :: Core 6.1.0.Final

org.drools.core.rule
Class InvalidRuleException

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

public class InvalidRuleException
extends RuleConstructionException

Indicates an error regarding the semantic validity of a rule.

See Also:
Serialized Form

Constructor Summary
InvalidRuleException(RuleImpl rule)
           
InvalidRuleException(String message, RuleImpl rule)
           
InvalidRuleException(String message, RuleImpl rule, Throwable cause)
           
 
Method Summary
 RuleImpl getRule()
          Retrieve the invalid Rule.
 
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

InvalidRuleException

public InvalidRuleException(RuleImpl rule)
Parameters:
rule - The invalid Rule.
See Also:
Exception.Exception()

InvalidRuleException

public InvalidRuleException(String message,
                            RuleImpl rule)
Parameters:
message -
rule -
See Also:
Exception.Exception(String message)

InvalidRuleException

public InvalidRuleException(String message,
                            RuleImpl rule,
                            Throwable cause)
Parameters:
message -
rule -
See Also:
Exception.Exception(String message, Throwable cause)
Method Detail

getRule

public RuleImpl getRule()
Retrieve the invalid Rule.

Returns:
The invalid Rule.

Drools :: Core 6.1.0.Final

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.