aboutsummaryrefslogtreecommitdiffstats
path: root/camel/ChangeLog
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-18 05:22:20 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-18 05:22:20 +0800
commite8aa23866a44d1d93750f42a9c168bcd007eb7bb (patch)
tree7b112db0933f469ce7c8d3fa5089f9fc363729a1 /camel/ChangeLog
parentbbfb9268af8e5d8c5a0ac346ba13efc00783d46c (diff)
downloadgsoc2013-evolution-e8aa23866a44d1d93750f42a9c168bcd007eb7bb.tar.gz
gsoc2013-evolution-e8aa23866a44d1d93750f42a9c168bcd007eb7bb.tar.zst
gsoc2013-evolution-e8aa23866a44d1d93750f42a9c168bcd007eb7bb.zip
Clean up some exception misusage.
2001-07-17 Peter Williams <peterw@ximian.com> Clean up some exception misusage. * providers/imap/camel-imap-command.c (camel_imap_command): Use our own internal exception for sending the string and transfer it to @ex if anything goes wrong. (imap_read_response): Use our own internal exception for reading the untagged responses and blah blah blah. * camel-session.c (get_service): Use our own internal exception when constructing the service and transfer it to @ex if anything goes wrong. * camel-remote-store.c (remote_recv_line): Instead of having gboolean exception, use our own internal exception and copy it to @ex if anything goes wrong. * camel-store.c (store_sync): Create an internal exception because sync_folder() checks it for validity. Transfer it to @ex when done. * camel-exception.c (camel_exception_get_description): If @ex is NULL, complain - passing NULL exceptions to Camel is okay, but there should be no circumstances under which they're then examined. (camel_exception_get_id): Same here, (camel_exception_xfer): NULL-protect and warn if transferring from a NULL exception. svn path=/trunk/; revision=11177
Diffstat (limited to 'camel/ChangeLog')
-rw-r--r--camel/ChangeLog30
1 files changed, 30 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index cb0509d897..86e0ef0963 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,33 @@
+2001-07-17 Peter Williams <peterw@ximian.com>
+
+ Clean up some exception misusage.
+
+ * providers/imap/camel-imap-command.c (camel_imap_command): Use
+ our own internal exception for sending the string and transfer it
+ to @ex if anything goes wrong.
+ (imap_read_response): Use our own internal exception for reading
+ the untagged responses and blah blah blah.
+
+ * camel-session.c (get_service): Use our own internal exception
+ when constructing the service and transfer it to @ex if anything
+ goes wrong.
+
+ * camel-remote-store.c (remote_recv_line): Instead of having
+ gboolean exception, use our own internal exception and copy
+ it to @ex if anything goes wrong.
+
+ * camel-store.c (store_sync): Create an internal exception
+ because sync_folder() checks it for validity. Transfer it to
+ @ex when done.
+
+ * camel-exception.c (camel_exception_get_description): If @ex is
+ NULL, complain - passing NULL exceptions to Camel is okay, but
+ there should be no circumstances under which they're then
+ examined.
+ (camel_exception_get_id): Same here,
+ (camel_exception_xfer): NULL-protect and warn if transferring from
+ a NULL exception.
+
2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (init_trash): Use CAMEL_VTRASH_NAME.