GdaError

Name

GdaError -- Database backend errors representation

Synopsis



#define     GDA_TYPE_ERROR
#define     GDA_ERROR                       (obj)
#define     GDA_ERROR_CLASS                 (klass)
#define     IS_GDA_ERROR                    (obj)
#define     IS_GDA_ERROR_CLASS              (klass)
GType       gda_error_get_type              (void);
GdaError*   gda_error_new                   (void);
GList*      gda_errors_from_exception       (CORBA_Environment *ev);
void        gda_error_free                  (GdaError *error);
void        gda_error_list_free             (GList *errors);
const gchar* gda_error_description          (GdaError *error);
const glong gda_error_number                (GdaError *error);
const gchar* gda_error_source               (GdaError *error);
const gchar* gda_error_helpurl              (GdaError *error);
const gchar* gda_error_sqlstate             (GdaError *error);
const gchar* gda_error_nativeMsg            (GdaError *error);
const gchar* gda_error_realcommand          (GdaError *error);

Object Hierarchy


  GtkObject
   +----GdaError

Description

Details

GDA_TYPE_ERROR

#define GDA_TYPE_ERROR            (gda_error_get_type())


GDA_ERROR()

#define     GDA_ERROR(obj)

obj : 


GDA_ERROR_CLASS()

#define     GDA_ERROR_CLASS(klass)

klass : 


IS_GDA_ERROR()

#define     IS_GDA_ERROR(obj)

obj : 


IS_GDA_ERROR_CLASS()

#define     IS_GDA_ERROR_CLASS(klass)

klass : 


gda_error_get_type ()

GType       gda_error_get_type              (void);

Returns : 


gda_error_new ()

GdaError*   gda_error_new                   (void);

Returns : 


gda_errors_from_exception ()

GList*      gda_errors_from_exception       (CORBA_Environment *ev);

ev : 
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_description ()

const gchar* gda_error_description          (GdaError *error);

error : 
Returns : 


gda_error_number ()

const glong gda_error_number                (GdaError *error);

error : 
Returns : 


gda_error_source ()

const gchar* gda_error_source               (GdaError *error);

error : 
Returns : 


gda_error_helpurl ()

const gchar* gda_error_helpurl              (GdaError *error);

error : 
Returns : 


gda_error_sqlstate ()

const gchar* gda_error_sqlstate             (GdaError *error);

error : 
Returns : 


gda_error_nativeMsg ()

const gchar* gda_error_nativeMsg            (GdaError *error);

error : 
Returns : 


gda_error_realcommand ()

const gchar* gda_error_realcommand          (GdaError *error);

error : 
Returns :