


XtAppErrorMsg(3Xt)					   XtAppErrorMsg(3Xt)
X11R5									X11R5



NAME
  XtAppErrorMsg, XtAppSetErrorMsgHandler, XtAppSetWarningMsgHandler,
  XtAppWarningMsg - high-level error handlers

SYNTAX
  void XtAppErrorMsg(_a_p_p__c_o_n_t_e_x_t, _n_a_m_e,	_t_y_p_e, _c_l_a_s_s, _d_e_f_a_u_l_t,  _p_a_r_a_m_s,
  _n_u_m__p_a_r_a_m_s)
      XtAppContext _a_p_p__c_o_n_t_e_x_t;
      String _n_a_m_e;
      String _t_y_p_e;
      String _c_l_a_s_s;
      String _d_e_f_a_u_l_t;
      String *_p_a_r_a_m_s;
      Cardinal *_n_u_m__p_a_r_a_m_s;

  void XtAppSetErrorMsgHandler(_a_p_p__c_o_n_t_e_x_t, _m_s_g__h_a_n_d_l_e_r)
	XtAppContext _a_p_p__c_o_n_t_e_x_t;
	XtErrorMsgHandler _m_s_g__h_a_n_d_l_e_r;

  void XtAppSetWarningMsgHandler(_a_p_p__c_o_n_t_e_x_t, _m_s_g__h_a_n_d_l_e_r)
	XtAppContext _a_p_p__c_o_n_t_e_x_t;
	XtErrorMsgHandler _m_s_g__h_a_n_d_l_e_r;

  void XtAppWarningMsg(_a_p_p__c_o_n_t_e_x_t, _n_a_m_e, _t_y_p_e,	_c_l_a_s_s, _d_e_f_a_u_l_t,	_p_a_r_a_m_s,
  _n_u_m__p_a_r_a_m_s)
      XtAppContext _a_p_p__c_o_n_t_e_x_t;
      String _n_a_m_e;
      String _t_y_p_e;
      String _c_l_a_s_s;
      String _d_e_f_a_u_l_t;
      String *_p_a_r_a_m_s;
      Cardinal *_n_u_m__p_a_r_a_m_s;

ARGUMENTS

  _a_p_p__c_o_n_t_e_x_t
	    Specifies the application context.

  _c_l_a_s_s	    Specifies the resource class.

  _d_e_f_a_u_l_t   Specifies the default message to use.

  _n_a_m_e	    Specifies the general kind of error.

  _t_y_p_e	    Specifies the detailed name	of the error.

  _m_s_g__h_a_n_d_l_e_r
	    Specifies the new fatal error procedure, which should not return
	    or the nonfatal error procedure, which usually returns.

  _n_u_m__p_a_r_a_m_s
	    Specifies the number of values in the parameter list.

  _p_a_r_a_m_s    Specifies a	pointer	to a list of values to be stored in the	mes-
	    sage.



DESCRIPTION
  The _X_t_A_p_p_E_r_r_o_r_M_s_g function calls the high-level error	handler	and passes
  the specified	information.

  The _X_t_A_p_p_S_e_t_E_r_r_o_r_M_s_g_H_a_n_d_l_e_r function registers the specified	procedure,
  which	is called when a fatal error occurs.

  The _X_t_A_p_p_S_e_t_W_a_r_n_i_n_g_M_s_g_H_a_n_d_l_e_r	function registers the specified procedure,
  which	is called when a nonfatal error	condition occurs.

  The _X_t_A_p_p_W_a_r_n_i_n_g_M_s_g function calls the high-level error handler and passes
  the specified	information.

SEE ALSO
  XtAppGetErrorDatabase(3Xt), XtAppError(3Xt)
  _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e	delim off

















































