Invokes EurekaLog without raising exception.
Unit
Syntax
ParametersError [in] Error message to display in dialogs and report.
AOptions [in, optional] EurekaLog options for this operation. Most important options are: csoShowRTLThreads, csoShowWindowsThreads and csoShowELThreads properties.
Return valueResult of processing. See Handle and TResponse for more information.
RemarksThis function creates exception of EEurekaLogGeneralError class and passes it to Handle method.
Use this method to invoke EurekaLog (i.e. show dialog, save report, send report) without actually raising exception. You can also setup exception filters or event handlers to alter processing behaviour of this "exception". Use EEurekaLogGeneralError class from EBase unit to differ this exception from typical exceptions.
The advantage of this function over usual raising method is that no exception will be raised at all (even though exception object will be created). Thus, you will save some performance and you also will not be disturbed by exception notification dialog from debugger.
Examples
See also
|