BBjInterpreter::setEsc

Description

Sets the escape handler to an object method that takes no arguments. The BBjinterpreter automatically performs a RETRY when the method returns normally. If this behavior is not desired, the method should either call RELEASE or throw an exception. Setting object to null will clear the BBj SETESC.

Syntax

Return Value Method
void setEsc(Object p_obj, String p_method)

Parameters

Variable Description
p_obj Object on which the escape handler method is defined.
p_method Name of the escape handler method to invoke. The method must take no arguments.

Return Value

None.

See Also

BBjAPI

BBj Object Creation and Assignment

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.