DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 
X Version 11 (Release 5)

XtAppError(Xt)


XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning -- low-level error handlers

Syntax

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;

Arguments


app_context
Specifies the application context.

message
Specifies the nonfatal error message that is to be reported.

handler
Specifies the new fatal error procedure, which should not return, or the nonfatal error procedure, which usually returns.

message
Specifies the message that is to be reported.

Description

The XtAppError function calls the installed error procedure and passes the specified message.

The XtAppSetErrorHandler function registers the specified procedure, which is called when a fatal error condition occurs.

The XtAppSetWarningHandler registers the specified procedure, which is called when a nonfatal error condition occurs.

The XtAppWarning function calls the installed nonfatal error procedure and passes the specified message.

See also

XtAppGetErrorDatabase(Xt) and XtAppErrorMsg(Xt).

X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface


© 2003 X Toolkit Intrinsics (Xt)
SCO OpenServer Release 5.0.7 -- 11 February 2003