Rule Execution Server API

ilog.rules.engine
Class IlrUserActionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ilog.rules.engine.IlrUserActionException
All Implemented Interfaces:
Serializable

public class IlrUserActionException
extends Exception

This exception is thrown by the methods IlrContext.send(java.lang.Object) and IlrContext.send(java.lang.String,java.lang.Object). During the execution of the rule engine, a user can explicitly return control to the caller of the rule engine using these methods. An object is attached to this exception and can be used to retrieve the cause or the result of such an exception.

See Also:
IlrContext.send(java.lang.Object), IlrContext.send(java.lang.String,java.lang.Object), Serialized Form

Constructor Summary
IlrUserActionException(Object object)
          Constructs an exception using an object.
IlrUserActionException(String message, Object object)
          Constructs an exception using a message and an object.
 
Method Summary
 Object getObject()
          Gets the objects used to construct this exception.
 
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

IlrUserActionException

public IlrUserActionException(Object object)

Constructs an exception using an object.

Parameters:
object - An object.

IlrUserActionException

public IlrUserActionException(String message,
                              Object object)

Constructs an exception using a message and an object.

Parameters:
message - A message.
object - An object.
Method Detail

getObject

public final Object getObject()

Gets the objects used to construct this exception.

Returns:
an object.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013