Files
evolution/camel/camel-exception-list.def
Dan Winship 4d5427769c Remove exists, create, delete. A CamelFolder now always references an
* camel-folder.c: Remove exists, create, delete. A CamelFolder
	now always references an existing folder. Remove delete_messages
	too since it wasn't being used. Add a "create" flag to
	get_subfolder saying whether or not to create the subfolder if it
	doesn't yet exist.

	* camel-store.c (camel_store_get_folder): Add a "create" flag to
	say whether or not to create the folder if it doesn't yet exist.
	(camel_store_delete_folder): New method, moved from CamelFolder.
	(cache_folder, uncache_folder): Fix up a bit.
	(get_folder_name): Explain what this is for.

	* providers/mbox/camel-mbox-folder.c:
	* providers/mbox/camel-mbox-store.c: Update. Remove support for
	hierarchical folders to simplify this for now, since we're not
	using it, and it's not completely clear how they should work in an
	ELocalStorage world. Needs to be revisited.

	* providers/pop3/camel-pop3-folder.c (delete_messages): Remove.
	* providers/pop3/camel-pop3-store.c (get_folder): Update.

	* providers/vee/camel-vee-folder.c (exists): Remove.
	* providers/vee/camel-vee-store.c (vee_get_folder): Update.

svn path=/trunk/; revision=3453
2000-06-07 00:06:29 +00:00

37 lines
1.1 KiB
Modula-2

/* 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 */
CAMEL_EXCEPTION_INVALID_PARAM,
CAMEL_EXCEPTION_SYSTEM,
CAMEL_EXCEPTION_USER_CANCEL,
/* CamelFolderException */
CAMEL_EXCEPTION_FOLDER_NULL = 100,
CAMEL_EXCEPTION_FOLDER_INVALID,
CAMEL_EXCEPTION_FOLDER_INVALID_STATE,
CAMEL_EXCEPTION_FOLDER_NON_EMPTY,
CAMEL_EXCEPTION_FOLDER_NON_UID,
CAMEL_EXCEPTION_FOLDER_INSUFFICIENT_PERMISSION,
CAMEL_EXCEPTION_FOLDER_INVALID_PATH,
CAMEL_EXCEPTION_FOLDER_INVALID_UID,
CAMEL_EXCEPTION_FOLDER_SUMMARY_INVALID,
/* CamelStoreException */
CAMEL_EXCEPTION_STORE_NULL = 200,
CAMEL_EXCEPTION_STORE_INVALID,
CAMEL_EXCEPTION_STORE_NO_FOLDER,
/* CamelServiceException */
CAMEL_EXCEPTION_SERVICE_NULL = 300,
CAMEL_EXCEPTION_SERVICE_INVALID,
CAMEL_EXCEPTION_SERVICE_URL_INVALID,
CAMEL_EXCEPTION_SERVICE_UNAVAILABLE,
CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE