diff options
author | Murray Cumming <murrayc@murrayc.com> | 2005-12-07 15:14:38 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2005-12-07 15:14:38 +0000 |
commit | 6ebbeaddbe3bdf3ad6c38de83b4229fdaedc2a13 (patch) | |
tree | f4331bd26090ef68c8dd015ec2a823c19167afca /ChangeLog | |
parent | 519637621e86438a8e3bf811e9954f49787f8a22 (diff) |
2005-12-07 Murray Cumming <murrayc@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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2005-12-07 Murray Cumming <murrayc@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@murrayc.com> + * cairomm/context.cc: * cairomm/fontoptions.cc: * cairomm/surface.cc: Check for errors in |