org.drools
Class NoSuchFactObjectException

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.NoSuchFactObjectException
All Implemented Interfaces:
Serializable

public class NoSuchFactObjectException
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:
bob mcwhirter
See Also:
FactHandle, WorkingMemory.assertObject(java.lang.Object), WorkingMemory.retractObject(org.drools.FactHandle), WorkingMemory.getObject(org.drools.FactHandle), Serialized Form

Constructor Summary
NoSuchFactObjectException()
           
NoSuchFactObjectException(FactHandle handle)
          Construct.
 
Method Summary
 FactHandle getFactHandle()
          Retrieve the invalid FactHandle.
 String getMessage()
          Retrieve the error message.
 
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

NoSuchFactObjectException

public NoSuchFactObjectException()

NoSuchFactObjectException

public NoSuchFactObjectException(FactHandle handle)
Construct.

Parameters:
handle - The invalid fact handle.
Method Detail

getFactHandle

public FactHandle getFactHandle()
Retrieve the invalid FactHandle.

Returns:
The invalid fact handle.

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.