org.drools.smf
Class SemanticComponentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.drools.DroolsException
                    |
                    +--org.drools.smf.SemanticModuleException
                          |
                          +--org.drools.smf.SemanticComponentException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidConditionException, InvalidConsequenceException, InvalidExtractorException, InvalidObjectTypeException

public abstract class SemanticComponentException
extends SemanticModuleException

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

Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
SemanticComponentException(java.lang.Class cls)
          Construct.
 
Method Summary
 java.lang.Class getInvalidClass()
          Retrieve the invalid class.
abstract  java.lang.String getMessage()
          Retrieve the error message.
 
Methods inherited from class org.drools.DroolsException
getLocalizedMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SemanticComponentException

public SemanticComponentException(java.lang.Class cls)
Construct.
Parameters:
cls - The invalid action.
Method Detail

getInvalidClass

public java.lang.Class getInvalidClass()
Retrieve the invalid class.
Returns:
The invalid class.

getMessage

public abstract java.lang.String getMessage()
Retrieve the error message.
Overrides:
getMessage in class DroolsException
Returns:
The error message.


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