Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppGetErrorDatabase(3Xt)

XtAppError(3Xt)

XtAppErrorMsg(3Xt)  —  UNIX Programmer’s Manual

名称

XtAppErrorMsg, XtAppSetErrorMsgHandler, XtAppSetWarningMsgHandler, XtAppWarningMsg − ハイレベルなエラーハンドラ

形式

void XtAppErrorMsg(app_context, name, type, class, default,  params, num_params)
    XtAppContext app_context;
    String name;
    String type;
    String class;
    String default;
    String ∗params;
    Cardinal ∗num_params; void XtAppSetErrorMsgHandler(app_context, msg_handler)
      XtAppContext app_context;
      XtErrorMsgHandler msg_handler; void XtAppSetWarningMsgHandler(app_context, msg_handler)
      XtAppContext app_context;
      XtErrorMsgHandler msg_handler; void XtAppWarningMsg(app_context, name, type, class, default, params, num_params)
    XtAppContext app_context;
    String name;
    String type;
    String class;
    String default;
    String ∗params;
    Cardinal ∗num_params;

引数

app_contextアプリケーションコンテキストを指定します。

classリソースクラスを 指定します。

default使用するデフォルトメッセージを 指定します。

nameエラーの一般的な種類を指定します。

typeエラー名を指定します。

msg_handler返されてはならない新しい致命的エラーのプロシージャ 、または通常返される致命的でないエラープロシージャを指定します。

num_paramsパラメータリスト中の値の数を指定します。

paramsメッセージ中にストアされる値のリストを指すポインタを指定します。

解説

XtAppErrorMsg 関数は、ハイレベルなエラーハンドラを呼び出し、指定された情報を 渡します。 XtAppSetErrorMsgHandler 関数は、致命的エラーが発生したときにコールされるプロシージャを 登録します。 XtAppSetWarningMsgHandler 関数は、致命的ではないが何らかのエラーが発生したときにコールされる プロシージャを登録します。 XtAppWarningMsg 関数は、ハイレベルなエラーハンドラをコールし、指定された情報を 渡します。

関連事項

XtAppGetErrorDatabase(3Xt), XtAppError(3Xt)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface

NEWS-OSRelease 3.3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026