org.drools.smf
Class InvalidObjectTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.DroolsException
              extended byorg.drools.smf.SemanticModuleException
                  extended byorg.drools.smf.SemanticComponentException
                      extended byorg.drools.smf.InvalidObjectTypeException
All Implemented Interfaces:
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, Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
InvalidObjectTypeException(Class cls)
          Construct.
 
Method Summary
 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

InvalidObjectTypeException

public InvalidObjectTypeException(Class cls)
Construct.

Parameters:
cls - The invalid object type.
Method Detail

getMessage

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

Specified by:
getMessage in class SemanticComponentException
See Also:
Throwable


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