Package org.drools.core.rule
Class InvalidRuleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- 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
-
-
Constructor Summary
Constructors Constructor Description InvalidRuleException(String message, RuleImpl rule)InvalidRuleException(String message, RuleImpl rule, Throwable cause)InvalidRuleException(RuleImpl rule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleImplgetRule()Retrieve the invalidRule.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidRuleException
public InvalidRuleException(RuleImpl rule)
- Parameters:
rule- The invalidRule.- See Also:
Exception()
-
InvalidRuleException
public InvalidRuleException(String message, RuleImpl rule)
- Parameters:
message-rule-- See Also:
Exception(String message)
-
InvalidRuleException
public InvalidRuleException(String message, RuleImpl rule, Throwable cause)
- Parameters:
message-rule-- See Also:
Exception(String message, Throwable cause)
-
-
Method Detail
-
getRule
public RuleImpl getRule()
Retrieve the invalidRule.- Returns:
- The invalid
Rule.
-
-