RegisterExceptionCallback

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWServerControllerBase > Methods >

RegisterExceptionCallback

SIGNATURE=IWServerControllerBase.TIWServerControllerBase.RegisterExceptionCallback@TIWExceptionCallbackProc

 

ETYPE=Method

 

Declaration:

Delphi:

public class procedure RegisterExceptionCallback(aCallback: TIWExceptionCallbackProc);

C++:

void public: __fastcall RegisterExceptionCallback(TIWExceptionCallbackProc aCallback);

 

Description: Register a method to be executed when any exception occurs. This allows users to handle specific types of exceptions or perform any required actions (e.g. logging, notification, etc.). The exception callback is executed in the server context and has no access to browser resources.

 

Parameters:

aCallback (TIWExceptionCallbackProc): Callback method which should be executed when an Exception occurs