org.drools
Class NoSuchFactHandleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.drools.DroolsException
              extended by org.drools.FactException
                  extended by 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

Constructor Summary
NoSuchFactHandleException()
           
NoSuchFactHandleException(Object object)
          Construct.
 
Method Summary
 String getMessage()
          Retrieve the error message.
 Object getObject()
          Retrieve the invalid Object.
 
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

NoSuchFactHandleException

public NoSuchFactHandleException()

NoSuchFactHandleException

public NoSuchFactHandleException(Object object)
Construct.

Parameters:
object - The invalid fact object.
Method Detail

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-2005 The Codehaus. All Rights Reserved.