表示: Delphi
C++
表示設定
System.TExceptionRecord
提供: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) };
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
struct class |
public | System.pas System.hpp |
System | System |
説明
例外情報です。
TExceptionRecord は、SEH で作成された例外についての情報を含みます。
次の表に、TExceptionRecord のメンバを示します。
| ExceptionCode | 例外の原因。 EXCEPTION_INT_OVERFLOW など。 |
| ExceptionFlags | フラグ: なし、または EXCEPTION_NONCONTINUABLE。 |
| ExceptionRecord | TExceptionRecord を指すポインタ。 ネストした例外を作成することができます。 |
| ExceptionAddress | 例外が作成されたアドレス。 |
| NumberParameters | ExceptionInformation 配列に含まれる要素数。 |
| ExceptionInformation | 追加情報: パラメータの配列。 |