System.TExceptionRecord

提供: RAD Studio 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;
public:
    union
    {
        struct
        {
            void *ExceptAddr;
            void *ExceptObject;
        };
        struct
        {
            System::StaticArray<NativeUInt, 15> ExceptionInformation;
        };
    };
};

プロパティ

種類 可視性 ソース ユニット
record
struct
public
System.pas
System.hpp
System System

説明

例外情報です。

TExceptionRecord は、SEH で作成された例外についての情報を含みます。

次の表に、TExceptionRecord のメンバを示します。

ExceptionCode 例外の原因。 EXCEPTION_INT_OVERFLOW など。
ExceptionFlags フラグ: なし、または EXCEPTION_NONCONTINUABLE。
ExceptionRecord TExceptionRecord を指すポインタ。 ネストした例外を作成することができます。
ExceptionAddress 例外が作成されたアドレス。
NumberParameters ExceptionInformation 配列に含まれる要素数。
ExceptionInformation 追加情報: パラメータの配列。

関連項目