org.drools.smf
Class InvalidConditionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.drools.DroolsException
                    |
                    +--org.drools.smf.SemanticModuleException
                          |
                          +--org.drools.smf.SemanticComponentException
                                |
                                +--org.drools.smf.InvalidConditionException
All Implemented Interfaces:
java.io.Serializable

public class InvalidConditionException
extends SemanticComponentException

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

Author:
bob mcwhirter
See Also:
SimpleSemanticModule.addCondition(java.lang.String, java.lang.Class), Serialized Form

Constructor Summary
InvalidConditionException(java.lang.Class cls)
          Construct.
 
Method Summary
 java.lang.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

InvalidConditionException

public InvalidConditionException(java.lang.Class cls)
Construct.

Parameters:
cls - The invalid condition.
Method Detail

getMessage

public java.lang.String getMessage()
Retrieve the error message.

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


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