org.drools
Class RuleIntegrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.drools.DroolsException
org.drools.RuleIntegrationException
- All Implemented Interfaces:
- Serializable
- public class RuleIntegrationException
- extends DroolsException
Indicates an error integrating a Rule
or RuleSet
into a RuleBase
.
- Version:
- $Id: RuleIntegrationException.java,v 1.6 2004/09/17 00:14:06
mproctor Exp $
- Author:
- bob mcwhirter
- See Also:
RuleBase#addRule
,
RuleBase#addRuleSet
,
Serialized Form
Fields inherited from class java.lang.Exception |
|
RuleIntegrationException
public RuleIntegrationException(Rule rule)
- Construct.
- Parameters:
rule
- The offending rule.
getRule
public Rule getRule()
- Retrieve the
Rule
.
- Returns:
- The rule.
getMessage
public String getMessage()
- Retrieve the error message.
- Overrides:
getMessage
in class DroolsException
- Returns:
- The erroe message.
Copyright © 2001-2004 The Codehaus. All Rights Reserved.