站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

InvalidRuleException (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.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.RuntimeDroolsException
                  extended by org.drools.rule.RuleConstructionException
                      extended by org.drools.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.

Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
InvalidRuleException(Rule rule)
           
InvalidRuleException(String message, Rule rule)
           
InvalidRuleException(String message, Rule rule, Throwable cause)
           
 
Method Summary
 Rule 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(Rule rule)
Parameters:
rule - The invalid Rule.
See Also:
Exception.Exception()

InvalidRuleException

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

InvalidRuleException

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

getRule

public Rule getRule()
Retrieve the invalid Rule.

Returns:
The invalid Rule.


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