Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppGetErrorDatabase(3Xt)

XtAppErrorMsg(3Xt)

XtAppError(3Xt)  —  MISC REFERENCE MANUAL PAGES

NAME

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(3Xt), XtAppErrorMsg(3Xt)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface

X Version 11  —  Last change: 1 September 1988

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