<< Click to Display Table of Contents >> AdoServerCallErrorHandler() Function |
![]() ![]() ![]() |
Call installed error handler for errors with AdoServer
FUNCTION AdoServerCallErrorHandler ( lCall ) AS LOGIC
lCall (Optional) Does ADOServer call the installed Errorhandler when an error happens ?
LOGIC The current setting
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 !!
Support functions, AdoServerCallClientError()