XtError() XtError()
Name
XtError - call the low-level fatal error handler.
Synopsis
void XtError(message)
String message;
Inputs
message Specifies the message to be reported.
Returns
XtError() terminates the application and does not return.
Availability
XtError() has been superseded by XtAppError().
Description
XtError() passes its arguments to the installed low-level error handler. On POSIX systems, the default handler is _XtDefaultError(). It
prints the message to the stderr stream and calls exit().
Usage
XtError() has been superseded by XtAppError(), which performs the same function on a per-application context basis. XtError() now calls
XtAppError() passing the default application context created by XtInitialize(). Very few programs need multiple application contexts, and
you can continue to use XtError() if you initialize your application with XtInitialize(). We recommend, however, that you use XtAppIni-
tialize(), XtAppError(), and the other XtApp*() application context specific functions.
See XtAppError() for more information.
XtError() calls the "low-level" error handler. It is better to use XtAppErrorMsg() which calls the "high-level" error handler. The high-
level handler looks up the error message in a resource database and so allows for customization and internationalization of error messages.
See Also
XtErrorMsg(1), XtSetErrorHandler(1), XtSetWarningMsg(1), XtWarning(1), XtWarningMsg(1).
Xt - Error Handling XtError()