System.TExceptionRecord
Delphi
TExceptionRecord = record
ExceptionCode: Cardinal;
ExceptionFlags: Cardinal;
ExceptionRecord: PExceptionRecord;
ExceptionAddress: Pointer;
NumberParameters: Cardinal;
case {IsOsException:} Boolean of
True: (ExceptionInformation : array [0..14] of NativeUInt);
False: (ExceptAddr: Pointer; ExceptObject: Pointer);
end;
C++
struct DECLSPEC_DRECORD TExceptionRecord
{
public:
unsigned ExceptionCode;
unsigned ExceptionFlags;
TExceptionRecord *ExceptionRecord;
void *ExceptionAddress;
unsigned NumberParameters;
public:
union
{
struct
{
void *ExceptAddr;
void *ExceptObject;
};
struct
{
System::StaticArray<NativeUInt, 15> ExceptionInformation;
};
};
};
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
record struct |
public | System.pas System.hpp |
System | System |
Description
Informations sur les exceptions.
TExceptionRecord contient des informations à propos d'une exception construite avec SEH.
Les membres de TExceptionRecord sont listés dans le tableau suivant :
| ExceptionCode | Cause de l'exception. Exemple : EXCEPTION_INT_OVERFLOW. |
| ExceptionFlags | Indicateurs : aucun ou EXCEPTION_NONCONTINUABLE. |
| ExceptionRecord | Pointeur sur TExceptionRecord. Des exceptions imbriquées peuvent être construites. |
| ExceptionAddress | Adresse où l'exception est construite. |
| NumberParameters | Nombre d'éléments du tableau ExceptionInformation. |
| ExceptionInformation | Informations supplémentaires : un tableau de paramètres. |