System.SysUtils.EExternal

提供: RAD Studio API Documentation
移動先: 案内検索

System.SysUtils.ExceptionSystem.TObjectEExternal

Delphi

EExternal = class(Exception)

C++

class PASCALIMPLEMENTATION EExternal : public Exception

プロパティ

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


説明

EExternal は、外部エラー情報を表す例外クラスです。


EExternal は、外部実行時エラーを表すあらゆる例外クラスの上位クラスです。

メモ: EExternal に属するクラスは Win32 例外コードを表します。ExceptionRecord メンバは、以下のような Win32 例外レコードを指します。

 type
   PExceptionRecord = ^TExceptionRecord;
   TExceptionRecord = record
     ExceptionCode: Cardinal;
     ExceptionFlags: Cardinal;
     ExceptionRecord: PExceptionRecord;
     ExceptionAddress: Pointer;
     NumberParameters: Cardinal;
     ExceptionInformation: array[0..14] of Cardinal;
   end;
 
 var ExceptionRecord: PExceptionRecord;
   struct TExceptionRecord;
   typedef TExceptionRecord *PExceptionRecord;
   struct TExceptionRecord
   {
     unsigned ExceptionCode;
     unsigned ExceptionFlags;
     TExceptionRecord *ExceptionRecord;
     void *ExceptionAddress;
     unsigned NumberParameters;
     unsigned ExceptionInformation[15];
   };

メモ: MAC OS では、EExternal に属するクラスはさまざまな実行時エラーを表します。EExternal には、例外情報が格納される以下の 3 つのフィールドがあります。

  • ExceptionAddress: エラーの原因となった命令のアドレスが格納されます。
  • AccessAddress: エラーの発生時にアクセスされていたアドレスです。
  • SignalNumber: Macintosh シグナルで発生した例外用です。

関連項目