BBjInterpreter::setErr
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 p_obj, String p_method) |
Parameters
| Variable | Description |
|---|---|
| p_obj | Object on which the error handler method is defined. |
| p_method | Name of the error handler method to invoke. The method must take no arguments. |
Return Value
None.
See Also
BBj Object Creation and Assignment
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.