aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-store.c
diff options
context:
space:
mode:
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;
}