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:
- 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
InvalidObjectTypeException
public InvalidObjectTypeException(Class cls)
- Construct.
- Parameters:
cls
- The invalid object type.
getMessage
public String getMessage()
- Description copied from class:
DroolsException
- Retrieve the error message.
- Specified by:
getMessage
in class SemanticComponentException
- Returns:
- The error message.
- See Also:
Throwable
Copyright © 2001-2005 The Codehaus. All Rights Reserved.