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:
java.io.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.

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, 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(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()
Description copied from class: DroolsException
Retrieve the error message.

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