BBjInterpreter::setErr

Description

In BBj 25.03 and higher sets the error 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 the object to null will clear the BBj SETERR.

Syntax

Return Value Method
void setErr(Object obj, String method)

Parameters

Variable Description
obj Object on which the error handler method is defined.
method Name of the error 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.