EurekaLog
Menu

EurekaLog 7 Manual

TExceptionManager.StandardEurekaNotify

Handle a specific exception.

Unit

EExceptionManager

Syntax

public
function StandardEurekaNotify(
const Obj: TObject;
const Addr: Pointer = nil;
const AOptions: TEurekaModuleOptions = nil
): TResponse;

Parameters

Obj [in]

Exception object. Can be value from ExceptObject function.

Addr [in, optional]

Exception address. Can be value from ExceptAddr function.

AOptions [in, optional]

EurekaLog options for this operation. Most important options are: csoShowRTLThreads, csoShowWindowsThreads and csoShowELThreads properties.

Return value

Result of exception's processing. See Handle and TResponse for more information.

Remarks

This is a simple combination of Info and Handle methods. This method is a tool for adding EurekaLog to unsupported applications types. You can call this method from your custom exception handler to invoke EurekaLog's processing.

This method is similar to ShowLastExceptionData, except it allows to specify exception object.

Tip

The diffrence between this method and the Handle method is this: Handle method will do nothing for non-raised exceptions. StandardEurekaNotify will create call stack for non-raised exceptions.

Examples

try
// ... your code ...
except
ExceptionManager.StandardEurekaNotify(ExceptObject, ExceptAddr);
end;
Thread := TMyThread.Create(False);
try
Thread.WaitFor;
ExceptionManager.StandardEurekaNotify(Thread.FatalException);
finally
FreeAndNil(Thread);
end;
E := EMyException.Create('My Error Message');
try
ExceptionManager.StandardEurekaNotify(E);
finally
FreeAndNil(E);
end;

See also



Send feedback... Build date: 2026-10-21
Last edited: 2026-10-21
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.

Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_method_EExceptionManager_TExceptionManager_StandardEurekaNotify