[libgdamm] DataModel: Added the DataModelError exceptions.



commit 4def529c032e85521eb19ee55465ccf0b56fbc7f
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Jun 21 20:07:01 2010 +0200

    DataModel: Added the DataModelError exceptions.
    
    * libgda/src/datamodel.hg: Add this exception that can be thrown by these
    methods.

 ChangeLog               |    7 +++++++
 libgda/src/datamodel.hg |    4 ++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 97e9567..a61a9a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-06-21  Murray Cumming  <murrayc murrayc com>
 
+	DataModel: Added the DataModelError exceptions.
+
+	* libgda/src/datamodel.hg: Add this exception that can be thrown by these 
+	methods.
+
+2010-06-21  Murray Cumming  <murrayc murrayc com>
+
 	Fix the examples (check) build.
 
 	* examples/sqlbuilder/main.cc: Adapt to the 
diff --git a/libgda/src/datamodel.hg b/libgda/src/datamodel.hg
index ce8c830..a87785a 100644
--- a/libgda/src/datamodel.hg
+++ b/libgda/src/datamodel.hg
@@ -38,6 +38,10 @@ namespace Gda
 class Row;
 class ServerProvider;
 
+/** Exception class for Gda connection errors.
+ */
+_WRAP_GERROR(DataModelError, GdaDataModelError, GDA_DATA_MODEL_ERROR)
+
 _WRAP_ENUM(DataModelAccessFlags, GdaDataModelAccessFlags)
 _WRAP_ENUM(DataModelHint, GdaDataModelHint)
 _WRAP_ENUM(DataModelIOFormat, GdaDataModelIOFormat)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]