[cairo-commit] cairomm ChangeLog,1.5,1.6

Murray Cumming commit at pdx.freedesktop.org
Wed Dec 7 07:14:40 PST 2005


Committed by: murrayc

Update of /cvs/cairo/cairomm
In directory gabe:/tmp/cvs-serv23199

Modified Files:
	ChangeLog 
Log Message:
2005-12-07  Murray Cumming <murrayc at murrayc.com>

        * cairomm/exception.cc:
        * cairomm/exception.h: Rename to logic_error, because
        the cairo documentation says that most of them are
        programming errors, not runtime errors. Derive from
        std::logic_error because of this.
        * cairomm/private.cc:
        * cairomm/private.h: Throw std::bad_alloc for memory
        errors, and std::io_base::failure for read/write runtime
        errors, as suggested by the cairo language-binding
        documentation.

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairomm/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ChangeLog	7 Dec 2005 14:41:10 -0000	1.5
+++ ChangeLog	7 Dec 2005 15:14:38 -0000	1.6
@@ -1,5 +1,18 @@
 2005-12-07  Murray Cumming <murrayc at murrayc.com>
 
+	* cairomm/exception.cc:
+	* cairomm/exception.h: Rename to logic_error, because 
+	the cairo documentation says that most of them are 
+	programming errors, not runtime errors. Derive from 
+	std::logic_error because of this.
+	* cairomm/private.cc:
+	* cairomm/private.h: Throw std::bad_alloc for memory 
+	errors, and std::io_base::failure for read/write runtime 
+	errors, as suggested by the cairo language-binding 
+	documentation.
+
+2005-12-07  Murray Cumming <murrayc at murrayc.com>
+
 	* cairomm/context.cc:
 	* cairomm/fontoptions.cc:
 	* cairomm/surface.cc: Check for errors in 



More information about the cairo-commit mailing list