AdoServerCallErrorHandler() Function

<< Click to Display Table of Contents >>

Navigation:  Support Functions >

AdoServerCallErrorHandler() Function

Previous pageReturn to chapter overviewNext page

Purpose

Call installed error handler for errors with AdoServer

 

Prototype

FUNCTION AdoServerCallErrorHandler ( lCall  )  AS LOGIC

 

Argument(s)

lCall        (Optional) Does ADOServer call the installed Errorhandler when an error happens ?

 

 

Return

LOGIC        The current setting

 

Description

The default behavior of AdoServer objects is to call the Error method of the first client class.

If you have disabled that behavior with the AdoServerCallClientError() functions, or there is no client registered or the first client doesn't have an error method, the server calls the Error handler that is installed with the ErrorBlock() function.

With this function you can also disable that behavior. The result of this is that in case of errors the only indication of an error are the ErrorInfo access and Status access of the server. Please disable this mechanism only when you ar sure what you are doing !!

 

See Also

Support functions, AdoServerCallClientError()