org.drools.smf
Class InvalidObjectTypeException

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

public class InvalidObjectTypeException
extends SemanticComponentException

Indicates an attempt to add an invalid object type to a semantic module.

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

Constructor Summary
InvalidObjectTypeException(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, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidObjectTypeException

public InvalidObjectTypeException(java.lang.Class cls)
Construct.
Parameters:
cls - The invalid object type.
Method Detail

getMessage

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


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