Anzeigen: Delphi
C++
Anzeigeeinstellungen
System.TExceptionRecord
Aus XE2 API Documentation
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; #pragma pack(push,1) union { struct { void *ExceptAddr; void *ExceptObject; }; struct { System::StaticArray<unsigned, 15> ExceptionInformation; }; }; #pragma pack(pop) };
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
struct class |
public | System.pas System.hpp |
System | System |
Beschreibung
Exception-Information.
TExceptionRecord enthält Informationen über eine mit SEH erstellte Exception.
Die Member von TExceptionRecord sind in der folgenden Tabelle aufgeführt:
| ExceptionCode | Exception-Ursache. Beispiel: EXCEPTION_INT_OVERFLOW. |
| ExceptionFlags | Flags: keine oder EXCEPTION_NONCONTINUABLE. |
| ExceptionRecord | Zeiger auf TExceptionRecord. Es können verschachtelte Exceptions erstellt werden. |
| ExceptionAddress | Adresse, wo die Exception erstellt wurde. |
| NumberParameters | Anzahl der Elemente des ExceptionInformation-Arrays. |
| ExceptionInformation | Zusatzinformation: ein Array mit Parametern. |