org.drools
Class NoSuchFactHandleException

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.NoSuchFactHandleException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchFactHandleException
extends FactException

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

See Also:
FactHandle, WorkingMemory.getFactHandle(java.lang.Object), Serialized Form
 

Constructor Summary
NoSuchFactHandleException(java.lang.Object object)
           
NoSuchFactHandleException(java.lang.Object object, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Object getObject()
          Retrieve the invalid Object.
 
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

NoSuchFactHandleException

public NoSuchFactHandleException(java.lang.Object object)
Parameters:
object - The invalid fact object.
See Also:
Exception.Exception()

NoSuchFactHandleException

public NoSuchFactHandleException(java.lang.Object object,
                                 java.lang.Throwable cause)
Parameters:
object - The invalid fact object.
See Also:
Exception.Exception(Throwable cause)
Method Detail

getObject

public java.lang.Object getObject()
Retrieve the invalid Object.

Returns:
The invalid fact object.