org.drools
Class NoSuchFactHandleException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.DroolsException
              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()
           
NoSuchFactHandleException(java.lang.Object object)
          Construct.
 
Method Summary
 java.lang.String getMessage()
          Retrieve the error message.
 java.lang.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(java.lang.Object object)
Construct.

Parameters:
object - The invalid fact object.
Method Detail

getObject

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

Returns:
The invalid fact object.

getMessage

public java.lang.String getMessage()
Description copied from class: DroolsException
Retrieve the error message.

Overrides:
getMessage in class DroolsException
Returns:
The error message.
See Also:
Throwable