NAME

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

SYNTAX

void XtAppErrorMsg(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(XtAppContext _a_p_p___c_o_n_t_e_x_t, XtErrorMsgHandler _m_s_g___h_a_n_d_l_e_r); void XtAppSetWarningMsgHandler(XtAppContext _a_p_p___c_o_n_t_e_x_t, XtErrorMsgHandler _m_s_g___h_a_n_d_l_e_r); void XtAppWarningMsg(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.
or the nonfatal error procedure, which usually returns
_m_s_g___h_a_n_d_l_e_r Specifies the new fatal error procedure, which should not return .
_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 message.

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