org.drools
Class RuleIntegrationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.drools.DroolsException
                    |
                    +--org.drools.RuleIntegrationException
All Implemented Interfaces:
java.io.Serializable

public class RuleIntegrationException
extends DroolsException

Indicates an error integrating a Rule or RuleSet into a RuleBase.

Version:
$Id: RuleIntegrationException.java,v 1.3 2002/08/21 05:46:12 bob Exp $
Author:
bob mcwhirter
See Also:
RuleBase.addRule(org.drools.rule.Rule), RuleBase.addRuleSet(org.drools.rule.RuleSet), Serialized Form

Constructor Summary
RuleIntegrationException(Rule rule)
          Construct.
 
Method Summary
 java.lang.String getMessage()
          Retrieve the error message.
 Rule getRule()
          Retrieve the Rule.
 
Methods inherited from class org.drools.DroolsException
getLocalizedMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleIntegrationException

public RuleIntegrationException(Rule rule)
Construct.
Parameters:
rule - The offending rule.
Method Detail

getRule

public Rule getRule()
Retrieve the Rule.
Returns:
The rule.

getMessage

public java.lang.String getMessage()
Retrieve the error message.
Overrides:
getMessage in class DroolsException
Returns:
The erroe message.


Copyright © 2001-2003 The Werken Company. All Rights Reserved.