GdaError

Name

GdaError -- 

Synopsis



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);
const gchar* gda_error_get_description      (GdaError *error);
void        gda_error_set_description       (GdaError *error,
                                             const gchar *description);
const glong gda_error_get_number            (GdaError *error);
void        gda_error_set_number            (GdaError *error,
                                             glong number);
const gchar* gda_error_get_source           (GdaError *error);
void        gda_error_set_source            (GdaError *error,
                                             const gchar *source);
const gchar* gda_error_get_help_url         (GdaError *error);
void        gda_error_set_help_url          (GdaError *error,
                                             const gchar *helpurl);
const gchar* gda_error_get_help_context     (GdaError *error);
void        gda_error_set_help_context      (GdaError *error,
                                             const gchar *helpctxt);
const gchar* gda_error_get_sqlstate         (GdaError *error);
void        gda_error_set_sqlstate          (GdaError *error,
                                             const gchar *sqlstate);
const gchar* gda_error_get_native           (GdaError *error);
void        gda_error_set_native            (GdaError *error,
                                             const gchar *native);
const gchar* gda_error_get_real_command     (GdaError *error);
void        gda_error_set_real_command      (GdaError *error,
                                             const gchar *realcommand);

Object Hierarchy


  GtkObject
   +----GdaError

Description

Details

gda_error_new ()

GdaError*   gda_error_new                   (void);

Returns : 


gda_error_list_from_exception ()

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.


gda_error_to_exception ()

void        gda_error_to_exception          (GdaError *error,
                                             CORBA_Environment *ev);

error : a GdaError object
ev : a CORBA exception


gda_error_list_to_exception ()

void        gda_error_list_to_exception     (GList *error_list,
                                             CORBA_Environment *ev);

error_list : 
ev : 


gda_error_list_to_corba_seq ()

GDA_ErrorSeq* gda_error_list_to_corba_seq   (GList *error_list);

error_list : 
Returns : 


gda_error_free ()

void        gda_error_free                  (GdaError *error);

Frees the memory allocated by the error object.

error : the error object.


gda_error_list_free ()

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.


gda_error_get_description ()

const gchar* gda_error_get_description      (GdaError *error);

error : 
Returns : 


gda_error_set_description ()

void        gda_error_set_description       (GdaError *error,
                                             const gchar *description);

error : 
description : 


gda_error_get_number ()

const glong gda_error_get_number            (GdaError *error);

error : 
Returns : 


gda_error_set_number ()

void        gda_error_set_number            (GdaError *error,
                                             glong number);

error : 
number : 


gda_error_get_source ()

const gchar* gda_error_get_source           (GdaError *error);

error : 
Returns : 


gda_error_set_source ()

void        gda_error_set_source            (GdaError *error,
                                             const gchar *source);

error : 
source : 


gda_error_get_help_url ()

const gchar* gda_error_get_help_url         (GdaError *error);

error : 
Returns : 


gda_error_set_help_url ()

void        gda_error_set_help_url          (GdaError *error,
                                             const gchar *helpurl);

error : 
helpurl : 


gda_error_get_help_context ()

const gchar* gda_error_get_help_context     (GdaError *error);

error : 
Returns : 


gda_error_set_help_context ()

void        gda_error_set_help_context      (GdaError *error,
                                             const gchar *helpctxt);

error : 
helpctxt : 


gda_error_get_sqlstate ()

const gchar* gda_error_get_sqlstate         (GdaError *error);

error : 
Returns : 


gda_error_set_sqlstate ()

void        gda_error_set_sqlstate          (GdaError *error,
                                             const gchar *sqlstate);

error : 
sqlstate : 


gda_error_get_native ()

const gchar* gda_error_get_native           (GdaError *error);

error : 
Returns : 


gda_error_set_native ()

void        gda_error_set_native            (GdaError *error,
                                             const gchar *native);

error : 
native : 


gda_error_get_real_command ()

const gchar* gda_error_get_real_command     (GdaError *error);

error : 
Returns : 


gda_error_set_real_command ()

void        gda_error_set_real_command      (GdaError *error,
                                             const gchar *realcommand);

error : 
realcommand :