Gnome::Gda::DataModelError Class Reference

Exception class for Gda connection errors. More...

Inheritance diagram for Gnome::Gda::DataModelError:
[legend]
Collaboration diagram for Gnome::Gda::DataModelError:
[legend]

## Public Types

enum | Code { DATA_MODEL_ROW_OUT_OF_RANGE_ERROR, DATA_MODEL_COLUMN_OUT_OF_RANGE_ERROR, DATA_MODEL_VALUES_LIST_ERROR, DATA_MODEL_VALUE_TYPE_ERROR, DATA_MODEL_ROW_NOT_FOUND_ERROR, DATA_MODEL_ACCESS_ERROR, DATA_MODEL_FEATURE_NON_SUPPORTED_ERROR, DATA_MODEL_FILE_EXIST_ERROR, DATA_MODEL_XML_FORMAT_ERROR, DATA_MODEL_TRUNCATED_ERROR, DATA_MODEL_OTHER_ERROR }

## Public Member Functions

| DataModelError (Code error_code, const Glib::ustring& error_message)
| DataModelError (GError* gobject)
Code | code () const
Public Member Functions inherited from Glib::Error
| Error ()
| Error (GQuark error_domain, int error_code, const Glib::ustring &message)
| Error (GError *gobject, bool take_copy=false)
| Error (const Error &other)
Error & | operator= (const Error &other)
virtual | ~Error () noexcept
GQuark | domain () const
int | code () const
Glib::ustring | what () const override
bool | matches (GQuark error_domain, int error_code) const
GError * | gobj ()
const GError * | gobj () const
Public Member Functions inherited from Glib::Exception
virtual | ~Exception () noexcept=0

## Additional Inherited Members

Protected Attributes inherited from Glib::Error
GError * | gobject_

## Detailed Description

Exception class for Gda connection errors.

## Member Enumeration Documentation

enum Gnome::Gda::DataModelError::Code

Enumerator
DATA_MODEL_ROW_OUT_OF_RANGE_ERROR |
DATA_MODEL_COLUMN_OUT_OF_RANGE_ERROR |
DATA_MODEL_VALUES_LIST_ERROR |
DATA_MODEL_VALUE_TYPE_ERROR |
DATA_MODEL_ROW_NOT_FOUND_ERROR |
DATA_MODEL_ACCESS_ERROR |
DATA_MODEL_FEATURE_NON_SUPPORTED_ERROR |
DATA_MODEL_FILE_EXIST_ERROR |
DATA_MODEL_XML_FORMAT_ERROR |
DATA_MODEL_TRUNCATED_ERROR |
DATA_MODEL_OTHER_ERROR |

## Constructor & Destructor Documentation

Gnome::Gda::DataModelError::DataModelError | ( | Code | error_code,
|  | const Glib::ustring & | error_message
| ) |  |

Gnome::Gda::DataModelError::DataModelError | ( | GError * | gobject | ) |

explicit

## Member Function Documentation

Code Gnome::Gda::DataModelError::code | ( |  | ) | const

The documentation for this class was generated from the following file:

- libgdamm/datamodel.h