Root > Reference > All Types > TEurekaActionType

Type TEurekaActionType

Previous pageReturn to chapter overviewNext page   

Action kind for exception processing.

 

Unit

ETypes

 

Syntax

 

 

Members

atCollectedExceptionInfo

[after] Fired after collecting information about exception (building call stack)

atCollectingExceptionInfo

[before] Fired before collecting information about exception (building call stack)

atEventHandler

[after] Used only in OnExceptionError event - when user event handler raises exception; Retry is ignored

atGeneral

[after] Used only in OnExceptionError event - when exception processing fails; Retry is ignored

atRestarting

[before] Fired before application restarting

atSavedLogFile

[after] Fired after saving to bug report

atSavingLogFile

[before] Fired before saving to bug report

atSendCancelled

[notify] Fired when sending was cancelled

atSending

[before] Fired before sending bug report

atSent

[after] Fired after sending bug report

atShowedExceptionInfo

[after] Fired after showing error dialog

atShowingExceptionInfo

[before] Fired before showing error dialog

atTerminating

[before] Fired before application termination

 

Remarks

This is type of action which is used in OnExceptionAction event.

 

Most events can be divided into 2 groups:

"Before-like" actions, which are fired before event;
"After-like" actions, which are fired after event;

Those groups have different meaning in event handler with respect to AExecute argument.

"Before-like" actions: AExecute can allow or deny action;
"After-like" actions: AExecute sets execution status - success or not;

Basically, for most actions EurekaLog follow such pattern (pseudo-code):

 

Code (Delphi)

repeat

MakeCall := DoEventExceptionAction(... "before" ...);

if MakeCall then

Result := PerformAction

else

Result := Cancelled;

Result := DoEventExceptionAction(... "after" ...);

 

if Failed(Result) then

Retry := DoEventExceptionError(...)

 else

 Retry := False;

until not Retry;

 

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_type_etypes_teurekaactiontype.php