diff options
author | Dan Winship <danw@src.gnome.org> | 2000-02-22 02:38:58 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-02-22 02:38:58 +0800 |
commit | d3d2adb98ce84c89f5e2c648329764d55d8ec412 (patch) | |
tree | df745b058ae76662cef56e168c7afae7a912b045 /camel/camel-exception-list.def | |
parent | a81eaf4588c2ed0d126e8294e83c0e914e5fb91c (diff) | |
download | gsoc2013-evolution-d3d2adb98ce84c89f5e2c648329764d55d8ec412.tar gsoc2013-evolution-d3d2adb98ce84c89f5e2c648329764d55d8ec412.tar.gz gsoc2013-evolution-d3d2adb98ce84c89f5e2c648329764d55d8ec412.tar.bz2 gsoc2013-evolution-d3d2adb98ce84c89f5e2c648329764d55d8ec412.tar.lz gsoc2013-evolution-d3d2adb98ce84c89f5e2c648329764d55d8ec412.tar.xz gsoc2013-evolution-d3d2adb98ce84c89f5e2c648329764d55d8ec412.tar.zst gsoc2013-evolution-d3d2adb98ce84c89f5e2c648329764d55d8ec412.zip |
add CamelExceptions to several functions. Use camel_session_new to
* camel-session.h:
* camel-session.c: add CamelExceptions to several functions. Use
camel_session_new to initialize the session and URL fields of
created CamelStores as appropriate.
* camel-store.h:
* camel-store.c
* camel-service.h:
* camel-service.c: Move the session and url (and associated
functions) from CamelStore to CamelService. Add url_flags to
CamelService so subclasses can specify which URL components
are mandatory for them. Add camel_session_new for
camel_session_get_store* to use.
* providers/mbox/camel-mbox-folder.c:
* providers/mbox/camel-mbox-store.c:
* providers/mbox/camel-mbox-store.h: Update for above changes.
svn path=/trunk/; revision=1888
Diffstat (limited to 'camel/camel-exception-list.def')
-rw-r--r-- | camel/camel-exception-list.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/camel/camel-exception-list.def b/camel/camel-exception-list.def index 8e14625c1b..c157d9544c 100644 --- a/camel/camel-exception-list.def +++ b/camel/camel-exception-list.def @@ -23,3 +23,9 @@ CAMEL_EXCEPTION_FOLDER_INVALID_UID, /* CamelStoreException */ CAMEL_EXCEPTION_STORE_NULL = 200, +CAMEL_EXCEPTION_STORE_INVALID, + +/* CamelServiceException */ +CAMEL_EXCEPTION_SERVICE_NULL = 300, +CAMEL_EXCEPTION_SERVICE_INVALID, +CAMEL_EXCEPTION_SERVICE_URL_INVALID |