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

Method Summary |
java.lang.String |
getMessage()
Retrieve the error message. |
java.lang.Object |
getObject()
Retrieve the invalid Object. |
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 |
NoSuchFactHandleException
public NoSuchFactHandleException()
NoSuchFactHandleException
public NoSuchFactHandleException(java.lang.Object object)
- Construct.
- Parameters:
object
- The invalid fact object.
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