org.drools
Class NoSuchFactHandleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.drools.DroolsException
org.drools.FactException
org.drools.NoSuchFactHandleException
- All Implemented Interfaces:
- Serializable
- public class NoSuchFactHandleException
- extends FactException
Indicates an attempt to retract, modify or retrieve a fact object that is no
longer present.
- Version:
- $Id: NoSuchFactObjectException.java,v 1.3 2003/11/19 21:31:09 bob
Exp $
- Author:
- Simon Harris
- See Also:
FactHandle
,
WorkingMemory.getFactHandle(java.lang.Object)
,
Serialized Form
Fields inherited from class java.lang.Exception |
|
NoSuchFactHandleException
public NoSuchFactHandleException()
NoSuchFactHandleException
public NoSuchFactHandleException(Object object)
- Construct.
- Parameters:
object
- The invalid fact object.
getObject
public Object getObject()
- Retrieve the invalid Object.
- Returns:
- The invalid fact object.
getMessage
public 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-2004 The Codehaus. All Rights Reserved.