Scroll to navigation

XtAppError(3Xt) XT FUNCTIONS XtAppError(3Xt)

名前

XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning - 低レベルエラーハンドラ

書式

void XtAppError( app_context, message)
 

XtAppContext app_context;
 

String message;
void XtAppSetErrorHandler( app_context, handler)
 

XtAppContext app_context;
 

XtErrorHandler handler;
void XtAppSetWarningHandler( app_context, handler)
 

XtAppContext app_context;
 

XtErrorHandler handler;
void XtAppWarning( app_context, message)
 

XtAppContext app_context;
 

String message;

引き数

app_context
アプリケーションコンテクストを指定する。
message
報告される致命的、または非致命的なエラーメッセージを指定する。
handler
戻ることのできない新しい致命的なエラー手続き、または通常戻ることのでき る非致命的なエラー手続きを指定する。

説明

XtAppError 関数は登録されている致命的エラー手続きを呼び、指定されたメッセージを渡 す。
XtAppSetErrorHandler 関数は指定された手続き(致命的なエラー状態が発生する時に呼ばれる)を登録 する。
XtAppSetWarningHandler は指定された手続き(非致命的なエラー状態が発生するとき呼ばれる)を登録す る。
XtAppWarning 関数は登録されている非致命的なエラー手続きを呼び、指定されたメッセージ を渡す。

関連項目

XtAppGetErrorDatabase(3Xt), XtAppErrorMsg(3Xt)
 
X ツールキット イントリンシクス - C 言語インターフェイス
 
Xlib - C 言語 X インターフェイス
 
Release 6.5 X Version 11