org.drools
Class RuleSetIntegrationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.DroolsException
              extended byorg.drools.RuleSetIntegrationException
All Implemented Interfaces:
Serializable

public class RuleSetIntegrationException
extends DroolsException

Indicates an error integrating a 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

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
RuleSetIntegrationException(RuleSet ruleSet)
          Construct.
 
Method Summary
 String getMessage()
          Retrieve the error message.
 RuleSet getRuleSet()
          Retrieve the RuleSet.
 
Methods inherited from class org.drools.DroolsException
getLocalizedMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleSetIntegrationException

public RuleSetIntegrationException(RuleSet ruleSet)
Construct.

Parameters:
ruleSet - The offending rule.
Method Detail

getRuleSet

public RuleSet getRuleSet()
Retrieve the RuleSet.

Returns:
The ruleSet

getMessage

public String getMessage()
Retrieve the error message.

Overrides:
getMessage in class DroolsException
Returns:
The error message.


Copyright © 2001-2004 The Codehaus. All Rights Reserved.