aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 9798de5c7d..ec23a55c71 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -467,6 +467,10 @@ static void
append_message (CamelFolder *folder, CamelMimeMessage *message,
const CamelMessageInfo *info, CamelException *ex)
{
+ camel_exception_setv(ex, CAMEL_EXCEPTION_FOLDER_INVALID,
+ _("Unsupported operation: append message: for %s"),
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+
g_warning ("CamelFolder::append_message not implemented for `%s'",
camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
return;
@@ -1030,6 +1034,10 @@ static GPtrArray *
search_by_expression (CamelFolder *folder, const char *expression,
CamelException *ex)
{
+ camel_exception_setv(ex, CAMEL_EXCEPTION_FOLDER_INVALID,
+ _("Unsupported operation: search by expression: for %s"),
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+
g_warning ("CamelFolder::search_by_expression not implemented for "
"`%s'", camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
return NULL;