Root > Reference > All Classes > TExceptionManager > Methods > TExceptionManager.Notify

Method TExceptionManager.Notify

Previous pageReturn to chapter overviewNext page   

Notifies exception manager about exception.

 

Unit

EExceptionManager

 

Syntax

 

Code (Delphi)

protected

procedure Notify(

const AInfo: TEurekaExceptionInfo;

const ARespectActivation: Boolean = True

); overload;

 

procedure Notify(

const AInfo: TExceptionData;

const ARespectActivation: Boolean = True

); overload;

 

procedure Notify(

const AInfo: Pointer;

const AAddr: Pointer = nil;

const ARespectActivation: Boolean = True

); overload;

 

procedure Notify(

const AInfo: TObject;

const AAddr: Pointer = nil;

const ARespectActivation: Boolean = True

); overload;

 

procedure Notify(

const AInfo: Windows.TExceptionRecord;

const AContext: PContext = nil;

const ARespectActivation: Boolean = True

); overload;

 

procedure Notify(

const AInfo: TExceptionPointers;

const ARespectActivation: Boolean = True

); overload;

 

Parameters

AInfo [in]

Exception object, exception information, exception data, or any other information which identifies exception (there are multiple overloads variants of the same Info method). If this value is not specified ( nil) - then nil will be returned from the method.

 

AAddr [in, optional]

Exception address. Typically this is ExceptAddr value. This argument is present not in all overloaded methods.

 

AContext [in, optional]

Pointer to low-level CPU information. This information will be used for creation of new information. It's not used for identification purposes.

 

ARespectActivation [in, optional]

True (default) - check the current status of EurekaLog. If no EurekaLog is enabled - return nil, otherwise (EurekaLog is enabled) - do the usual work.

 

False - always retrieve information even if EurekaLog is not active.

 

Return value

Information about specified exception or nil if information can not be created.

 

Remarks

 

Warning

Do not call this method directly! It's called only from hooks to notify exception manager about exceptions.

 

1. First, this method retrieves actual exception information via Info method. If no information exists - it will be created.
2. The method updates counters (exception count)
3. Updates last exception.
4. Build chained exceptions chain.
5. Removes obsolete information blocks (deleted/not active exceptions).
6. Invokes OnRaise event.

 

See also




Send feedback... Build date: 2018-11-26
Last edited: 2018-11-26
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_notify.php