Previousquerymessagefile Up
Exceptionmanager
registermessagefileNext

Exceptionmanager Method register

Register aHandler with anObject so that when an exception is raised aHandler is invoked. aHandler should be a CallBack pointing to a method which expects three parameters and returns an object reference. The first parameter will be an object reference containing the object upon which the exception was raised. The second parameter will be a pic x(4) comp-5 item containing the exception number. The third parameter is optional. It will be an object reference containing either null or an ordered collection of characterarray objects, which can contain additional information about the error.

Using Parameters
anobject OBJECT
ahandler OBJECT