org.drools.core.rule
Class InvalidRuleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.drools.core.RuntimeDroolsException
org.drools.core.rule.RuleConstructionException
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
|
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 |
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)
getRule
public Rule getRule()
- Retrieve the invalid
Rule.
- Returns:
- The invalid
Rule.
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.