org.drools.smf
Class SemanticComponentException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidConditionException, InvalidConsequenceException, 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(Class cls)
          Construct.
 
Method Summary
 Class getInvalidClass()
          Retrieve the invalid class.
abstract  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, 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

SemanticComponentException

public SemanticComponentException(Class cls)
Construct.

Parameters:
cls - The invalid action.
Method Detail

getInvalidClass

public Class getInvalidClass()
Retrieve the invalid class.

Returns:
The invalid class.

getMessage

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

Overrides:
getMessage in class DroolsException
Returns:
The error message.
See Also:
Throwable


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