Allows capturing of errors that occur during callback method processing, since callback method errors are independently handled inside of a TRY/CATCH.
This method gives you the opportunity to be notified of an error that occurs and you can capture the error by using BINDEVENT() in your page (or whereever).
*** Page code
FUNCTION OnInit()
BINDEVENT(this.AjaxCallback,"OnError",this,"OnCallbackError")
ENDFUNC
FUNCTION OnCallbackError(loException)
* Do something with the exception - log, re-throw etc.
ENDFUNC
o.OnError(loException)
Return Value
nothing
Parameters
loException
Exception object fired when the callback method is executed and fails.
See also:
Class wwAjaxMethodCallback© West Wind Technologies, 1996-2024 • Updated: 10/29/13
Comment or report problem with topic