org.drools.smf
Class InvalidConsequenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.drools.DroolsException
              extended by org.drools.smf.SemanticModuleException
                  extended by org.drools.smf.SemanticComponentException
                      extended by org.drools.smf.InvalidConsequenceException
All Implemented Interfaces:
Serializable

public class InvalidConsequenceException
extends SemanticComponentException

Indicates an attempt to add an invalid consequence to a semantic module.

Author:
bob mcwhirter
See Also:
SimpleSemanticModule#addConsequence, Serialized Form

Constructor Summary
InvalidConsequenceException(Class cls)
          Construct.
 
Method Summary
 String getMessage()
          Retrieve the error message.
 
Methods inherited from class org.drools.smf.SemanticComponentException
getInvalidClass
 
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

InvalidConsequenceException

public InvalidConsequenceException(Class cls)
Construct.

Parameters:
cls - The invalid consequence.
Method Detail

getMessage

public String getMessage()
Description copied from class: DroolsException
Retrieve the error message.

Specified by:
getMessage in class SemanticComponentException
Returns:
The error message.
See Also:
Throwable


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