aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vmime/textPartFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmime/textPartFactory.cpp b/src/vmime/textPartFactory.cpp
index 85fea6e4..846a6605 100644
--- a/src/vmime/textPartFactory.cpp
+++ b/src/vmime/textPartFactory.cpp
@@ -62,7 +62,7 @@ shared_ptr <textPart> textPartFactory::create(const mediaType& type)
return ((*it).second)();
}
- throw exceptions::no_factory_available();
+ throw exceptions::no_factory_available("No 'textPart' class registered for media type '" + type.generate() + "'.");
}