aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-store.c
diff options
context:
space:
mode:
author1 <NotZed@Ximian.com>2001-09-22 04:01:24 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-22 04:01:24 +0800
commitcc292b9bb610d8ac52dc1226f196bfb2a44ad4a3 (patch)
treea67b2990b3a1f08e040653df699647c9ba2ad215 /camel/camel-store.c
parent83f05741bd1cac4269a8c0d5c26f52b386f8294b (diff)
downloadgsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.tar.gz
gsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.tar.zst
gsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.zip
Set the exception if create_folder isn't implemented.
2001-09-21 <NotZed@Ximian.com> * camel-store.c (create_folder): Set the exception if create_folder isn't implemented. svn path=/trunk/; revision=13056
Diffstat (limited to 'camel/camel-store.c')
-rw-r--r--camel/camel-store.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-store.c b/camel/camel-store.c
index 62b1c48902..4c70ae9981 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -268,6 +268,9 @@ create_folder (CamelStore *store, const char *parent_name,
{
g_warning ("CamelStore::create_folder not implemented for `%s'",
camel_type_to_name (CAMEL_OBJECT_GET_TYPE (store)));
+
+ camel_exception_setv(ex, CAMEL_EXCEPTION_STORE_INVALID,
+ _("Cannot create folder: Invalid operation on this store"));
return NULL;
}