org.drools.rule
Class NoParameterDeclarationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.DroolsException
              extended byorg.drools.rule.RuleConstructionException
                  extended byorg.drools.rule.InvalidRuleException
                      extended byorg.drools.rule.NoParameterDeclarationException
All Implemented Interfaces:
java.io.Serializable

public class NoParameterDeclarationException
extends InvalidRuleException

Validity exception indicating that a Rule does not contain any root object parameter Declarations.

See Also:
Serialized Form
 

Constructor Summary
NoParameterDeclarationException(Rule rule)
          Construct.
 
Methods inherited from class org.drools.rule.InvalidRuleException
getRule
 
Methods inherited from class org.drools.DroolsException
getLocalizedMessage, getMessage, 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

NoParameterDeclarationException

public NoParameterDeclarationException(Rule rule)
Construct.

Parameters:
rule - The invalid Rule.