To set up handling options of errors occurring in systems developed using Prognoz Platform 9, use the Error Handling tab in the Feedback topic of the Parameters dialog box.
To open the Parameters dialog box
Define the following parameters:
Send Error Messages by Email. Specify email address to which error reports should be sent. Default email client installed in user operating system is used to send email messages.
Error Handling. Check one of the available radio buttons:
Default. Prognoz Platform 9 will use the built-in mechanism of error handling: if error occurs, the appropriate window with information about error and ability to send it by the specified email.
Use Custom Error Handling. Errors occurring in Prognoz Platform 9 can be handled in the function with the following signature:
Function <function name>(<parameter name>: IException): Boolean
Select an assembly, unit or form which contains function with appropriate signature from the drop-down list. The list of selected unit, form or assembly functions satisfying this signature is displayed in the Functions drop-down list.
NOTE. The proper error handler enables the user to handle only the errors occurred in application code. Errors that can appear in the Prognoz Platform 9 core will be displayed in the appropriate window.
See also: