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

Method TExceptionManager.Info

Previous pageReturn to chapter overviewNext page   

Returns information about exception.

 

Unit

EExceptionManager

 

Syntax

 

Code (Delphi)

public

function Info(

const AInfo: Pointer;

const AAddr: Pointer = nil;

const AForcedNew: Boolean = False;

const ARespectActivation: Boolean = True;

const ADoNotCreateNew: Boolean = False

): TEurekaExceptionInfo; overload;

 

function Info(

const AInfo: TObject;

const AAddr: Pointer = nil;

const AForcedNew: Boolean = False;

const ARespectActivation: Boolean = True;

const ADoNotCreateNew: Boolean = False

): TEurekaExceptionInfo; overload;

 

function Info(

const AInfo: TObject;

const AExceptionRecord: Windows.TExceptionRecord;

const AContext: PContext = nil;

const AForcedNew: Boolean = False;

const ARespectActivation: Boolean = True;

const ADoNotCreateNew: Boolean = False

): TEurekaExceptionInfo; overload;

 

function Info(

const AInfo: TObject;

const AEP: TExceptionPointers;

const AForcedNew: Boolean = False;

const ARespectActivation: Boolean = True;

const ADoNotCreateNew: Boolean = False

): TEurekaExceptionInfo; overload;

 

function Info(

var AInfo: TExceptionData;

const AForcedNew: Boolean = False;

const ARespectActivation: Boolean = True;

const ADoNotCreateNew: Boolean = False

): TEurekaExceptionInfo; overload;

 

function Info(

const AInfo: Windows.TExceptionRecord;

const AContext: PContext = nil;

const AForcedNew: Boolean = False;

const ARespectActivation: Boolean = True;

const ADoNotCreateNew: Boolean = False

): TEurekaExceptionInfo; overload;

 

function Info(

const AInfo: TExceptionPointers;

const AForcedNew: Boolean = False;

const ARespectActivation: Boolean = True;

const ADoNotCreateNew: Boolean = False

): TEurekaExceptionInfo; 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.

 

AForcedNew [in, optional]

False (default) - standard behaviour: try to locate already created info, reate new information only when no existing info is found.

 

True - always create new information instance. It's recommended don't use this value unless you're 100% sure that your exception is new (just created). Value of True is used by exception hooks.

 

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 doesn't exist.

 

See also




Send feedback... Build date: 2024-09-30
Last edited: 2024-09-30
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_info.php