![]() | ![]() | ![]() | libgda API reference | ![]() |
---|
GdaError* gda_error_new (void);GList * gda_error_list_from_exception (CORBA_Environment *ev); void gda_error_to_exception (GdaError *error,CORBA_Environment *ev); void gda_error_list_to_exception (GList *error_list,CORBA_Environment *ev);GDA_ErrorSeq * gda_error_list_to_corba_seq (GList *error_list); void gda_error_free (GdaError *error); void gda_error_list_free (GList *errors); constgchar * gda_error_get_description (GdaError *error); void gda_error_set_description (GdaError *error, constgchar *description); constglong gda_error_get_number (GdaError *error); void gda_error_set_number (GdaError *error,glong number); constgchar * gda_error_get_source (GdaError *error); void gda_error_set_source (GdaError *error, constgchar *source); constgchar * gda_error_get_help_url (GdaError *error); void gda_error_set_help_url (GdaError *error, constgchar *helpurl); constgchar * gda_error_get_help_context (GdaError *error); void gda_error_set_help_context (GdaError *error, constgchar *helpctxt); constgchar * gda_error_get_sqlstate (GdaError *error); void gda_error_set_sqlstate (GdaError *error, constgchar *sqlstate); constgchar * gda_error_get_native (GdaError *error); void gda_error_set_native (GdaError *error, constgchar *native); constgchar * gda_error_get_real_command (GdaError *error); void gda_error_set_real_command (GdaError *error, constgchar *realcommand);
GList * gda_error_list_from_exception (CORBA_Environment *ev);
Creates a list of GdaError's from a CORBA_Environment structure. This is the standard way of informing of errors.
ev : | a CORBA_Environment structure |
Returns : | a list of GdaError structures. |
void gda_error_to_exception (GdaError *error,CORBA_Environment *ev);
error : | a GdaError object |
ev : | a CORBA exception |
void gda_error_list_to_exception (GList *error_list,CORBA_Environment *ev);
error_list : | |
ev : |
|
GDA_ErrorSeq * gda_error_list_to_corba_seq (GList *error_list);
error_list : | |
Returns : |
|
void gda_error_free (GdaError *error);
Frees the memory allocated by the error object.
error : | the error object. |
void gda_error_list_free (GList *errors);
Frees all error objects in the list and the list itself. After this function has been called, the errors parameter doesn't point to valid storage any more.
errors : | a glist holding error objects. |
constgchar * gda_error_get_description (GdaError *error);
error : | |
Returns : |
|
void gda_error_set_description (GdaError *error, constgchar *description);
error : | |
description : |
|
void gda_error_set_source (GdaError *error, constgchar *source);
error : | |
source : |
|
void gda_error_set_help_url (GdaError *error, constgchar *helpurl);
error : | |
helpurl : |
|
constgchar * gda_error_get_help_context (GdaError *error);
error : | |
Returns : |
|
void gda_error_set_help_context (GdaError *error, constgchar *helpctxt);
error : | |
helpctxt : |
|
void gda_error_set_sqlstate (GdaError *error, constgchar *sqlstate);
error : | |
sqlstate : |
|
void gda_error_set_native (GdaError *error, constgchar *native);
error : | |
native : |
|
constgchar * gda_error_get_real_command (GdaError *error);
error : | |
Returns : |
|
void gda_error_set_real_command (GdaError *error, constgchar *realcommand);
error : | |
realcommand : |
|
<<< gda-corba | GdaListener >>> |