org.drools
Class RuleIntegrationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.drools.RuntimeDroolsException
                  extended by org.drools.IntegrationException
                      extended by org.drools.RuleIntegrationException
All Implemented Interfaces:
Serializable

public class RuleIntegrationException
extends IntegrationException

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

Version:
$Id: RuleIntegrationException.java,v 1.6 2004/09/17 00:14:06 mproctor Exp $
See Also:
RuleBase#addRule, RuleBase.addPackage(org.drools.rule.Package), Serialized Form

Constructor Summary
RuleIntegrationException(Rule rule)
           
RuleIntegrationException(Rule rule, Throwable cause)
           
 
Method Summary
 Rule getRule()
          Retrieve the Rule.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, 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)
Parameters:
rule - The offending rule.
See Also:
Exception.Exception()

RuleIntegrationException

public RuleIntegrationException(Rule rule,
                                Throwable cause)
Parameters:
rule - The offending rule.
See Also:
Exception.Exception(Throwable cause)
Method Detail

getRule

public Rule getRule()
Retrieve the Rule.

Returns:
The rule.


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.