aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2014-01-19 15:52:49 +0000
committerVincent Richard <[email protected]>2014-01-19 15:52:49 +0000
commit5ec4ea4aa25815defa465b504f4b286309f70795 (patch)
tree451eba0d2acaf61803a5e8b83f082b13aaca2cc3
parentFixed possible crash when COPYUID/APPENDUID is not supported by the server. (diff)
downloadvmime-5ec4ea4aa25815defa465b504f4b286309f70795.tar.gz
vmime-5ec4ea4aa25815defa465b504f4b286309f70795.zip
Better error message.
-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() + "'.");
}