XtAppError(3Xt) XtAppError(3Xt)NAME XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning - handle low-level errors SYNOPSIS 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; 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 oc- curs. The XtAppSetWarningHandler registers the specified pro- cedure, which is called when a nonfatal error condition oc- curs. The XtAppWarning function calls the installed nonfatal error procedure and passes the specified message. Arguments These functions accept the following 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. November, 1990 1
XtAppError(3Xt) XtAppError(3Xt)SEE ALSO XtAppGetErrorDatabase(3Xt), XtAppErrorMsg(3Xt)X Toolkit Intrinsics - C Language InterfaceXlib - C Language Interface 2 November, 1990