Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtAppSetErrorHandler(3Xt) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppGetErrorDatabase(3Xt)

XtAppErrorMsg(3Xt)



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


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

SYNTAX
       void XtAppError(appcontext, message)
             XtAppContext appcontext;
             String message;

       void XtAppSetErrorHandler(appcontext, handler)
             XtAppContext appcontext;
             XtErrorHandler handler;

       void XtAppSetWarningHandler(appcontext, handler)
             XtAppContext appcontext;
             XtErrorHandler handler;

       void XtAppWarning(appcontext, message)
             XtAppContext appcontext;
             String message;

ARGUMENTS
       appcontext
                 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 proce-
                 dure, which usually returns.

       message   Specifies the message that is to be reported.

DESCRIPTION
       The XtAppError function calls the installed error proce-
       dure 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 proce-
       dure, 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(3Xt), XtAppErrorMsg(3Xt)
       X Toolkit Intrinsics - C Language Interface
       Xlib - C Language X Interface




X Version 11                Release 3                           1


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