aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-02-21 23:24:27 +0800
committerDan Winship <danw@src.gnome.org>2000-02-21 23:24:27 +0800
commita81eaf4588c2ed0d126e8294e83c0e914e5fb91c (patch)
treea51cb3265aeedf45dd8a740b22a949368ef4bde2 /camel
parent38490eb10f4f1b24c8185e46bc4d1ecb495fa617 (diff)
downloadgsoc2013-evolution-a81eaf4588c2ed0d126e8294e83c0e914e5fb91c.tar
gsoc2013-evolution-a81eaf4588c2ed0d126e8294e83c0e914e5fb91c.tar.gz
gsoc2013-evolution-a81eaf4588c2ed0d126e8294e83c0e914e5fb91c.tar.bz2
gsoc2013-evolution-a81eaf4588c2ed0d126e8294e83c0e914e5fb91c.tar.lz
gsoc2013-evolution-a81eaf4588c2ed0d126e8294e83c0e914e5fb91c.tar.xz
gsoc2013-evolution-a81eaf4588c2ed0d126e8294e83c0e914e5fb91c.tar.zst
gsoc2013-evolution-a81eaf4588c2ed0d126e8294e83c0e914e5fb91c.zip
Once camel is being used for real, exceptions won't be renumberable. So
* camel-exception-list.def: Once camel is being used for real, exceptions won't be renumberable. So renumber them now to make more room to add exceptions to the various categories later, and add a big warning message. svn path=/trunk/; revision=1887
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/camel-exception-list.def12
2 files changed, 16 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 43f6e743b9..6043cffb4c 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,10 @@
+2000-02-21 Dan Winship <danw@helixcode.com>
+
+ * camel-exception-list.def: Once camel is being used for real,
+ exceptions won't be renumberable. So renumber them now to make
+ more room to add exceptions to the various categories later, and
+ add a big warning message.
+
2000-02-20 Dan Winship <danw@helixcode.com>
* providers/mbox/Makefile.am: add libibex back to
diff --git a/camel/camel-exception-list.def b/camel/camel-exception-list.def
index 8ad69f378f..8e14625c1b 100644
--- a/camel/camel-exception-list.def
+++ b/camel/camel-exception-list.def
@@ -1,3 +1,10 @@
+/* WARNING: Exceptions MUST NOT be renumbered: they need to be
+ * consistent across libraries compiled at different times.
+ * Categories should be widely separated, old unused exceptions can
+ * never be deleted, and new exceptions can be added only to the
+ * ends of categories.
+ */
+
CAMEL_EXCEPTION_NONE = 0,
/* Generic exceptions */
@@ -5,7 +12,7 @@ CAMEL_EXCEPTION_INVALID_PARAM,
CAMEL_EXCEPTION_SYSTEM,
/* CamelFolderException */
-CAMEL_EXCEPTION_FOLDER_NULL,
+CAMEL_EXCEPTION_FOLDER_NULL = 100,
CAMEL_EXCEPTION_FOLDER_INVALID,
CAMEL_EXCEPTION_FOLDER_INVALID_STATE,
CAMEL_EXCEPTION_FOLDER_NON_EMPTY,
@@ -14,6 +21,5 @@ CAMEL_EXCEPTION_FOLDER_INSUFFICIENT_PERMISSION,
CAMEL_EXCEPTION_FOLDER_INVALID_PATH,
CAMEL_EXCEPTION_FOLDER_INVALID_UID,
-
/* CamelStoreException */
-CAMEL_EXCEPTION_STORE_NULL, \ No newline at end of file
+CAMEL_EXCEPTION_STORE_NULL = 200,