diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-21 11:30:00 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-21 11:30:00 +0800 |
commit | cfa1f110a7dabe96457a17f0e42f632f8b111828 (patch) | |
tree | 7b698c3f5ddb7b9ec5769afb8d41cb98767549af /camel/providers/pop3/camel-pop3-folder.c | |
parent | e660ab7c524cf5e753b3a867f04f3a0ea383517e (diff) | |
download | gsoc2013-evolution-cfa1f110a7dabe96457a17f0e42f632f8b111828.tar.gz gsoc2013-evolution-cfa1f110a7dabe96457a17f0e42f632f8b111828.tar.zst gsoc2013-evolution-cfa1f110a7dabe96457a17f0e42f632f8b111828.zip |
re-arrange the code so exception debug will print the expanded
2004-05-20 Not Zed <NotZed@Ximian.com>
* camel-exception.c (camel_exception_setv): re-arrange the code so
exception debug will print the expanded description.
(camel_exception_set): print exception debug.
* providers/pop3/camel-pop3-folder.c (pop3_get_message): same.
* providers/local/camel-mh-folder.c (mh_get_message) *
providers/local/camel-mbox-folder.c (mbox_get_message): *
providers/local/camel-maildir-folder.c (maildir_get_message):
Don't use INVALID_UID for errors which are more system related.
And sync up all the error messages.
svn path=/trunk/; revision=26028
Diffstat (limited to 'camel/providers/pop3/camel-pop3-folder.c')
-rw-r--r-- | camel/providers/pop3/camel-pop3-folder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/pop3/camel-pop3-folder.c b/camel/providers/pop3/camel-pop3-folder.c index edb71802bc..1c17079006 100644 --- a/camel/providers/pop3/camel-pop3-folder.c +++ b/camel/providers/pop3/camel-pop3-folder.c @@ -497,7 +497,7 @@ pop3_get_message (CamelFolder *folder, const char *uid, CamelException *ex) } if (camel_stream_read(stream, buffer, 1) != 1 || buffer[0] != '#') { - camel_exception_setv(ex, CAMEL_EXCEPTION_FOLDER_INVALID_UID, + camel_exception_setv(ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot get message %s: %s"), uid, _("Unknown reason")); goto done; } |