org.drools
Class NoSuchFactObjectException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.drools.RuntimeDroolsException
                  extended byorg.drools.FactException
                      extended byorg.drools.NoSuchFactObjectException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchFactObjectException
extends FactException

Indicates an attempt to retract, modify or retrieve a fact object that is no longer present.

See Also:
FactHandle, WorkingMemory.assertObject(java.lang.Object), WorkingMemory.retractObject(org.drools.FactHandle), WorkingMemory.getObject(org.drools.FactHandle), Serialized Form
 

Constructor Summary
NoSuchFactObjectException(FactHandle handle)
           
NoSuchFactObjectException(FactHandle handle, java.lang.Throwable cause)
           
 
Method Summary
 FactHandle getFactHandle()
          Retrieve the invalid FactHandle.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, 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(FactHandle handle)
See Also:
Exception.Exception()

NoSuchFactObjectException

public NoSuchFactObjectException(FactHandle handle,
                                 java.lang.Throwable cause)
See Also:
Exception.Exception()
Method Detail

getFactHandle

public FactHandle getFactHandle()
Retrieve the invalid FactHandle.

Returns:
The invalid fact handle.