diff options
| author | Vincent Richard <[email protected]> | 2014-01-19 16:52:49 +0100 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2014-01-19 16:52:49 +0100 |
| commit | 5ec4ea4aa25815defa465b504f4b286309f70795 (patch) | |
| tree | 451eba0d2acaf61803a5e8b83f082b13aaca2cc3 | |
| parent | Fixed possible crash when COPYUID/APPENDUID is not supported by the server. (diff) | |
| download | vmime-5ec4ea4aa25815defa465b504f4b286309f70795.tar.gz vmime-5ec4ea4aa25815defa465b504f4b286309f70795.zip | |
Better error message.
| -rw-r--r-- | src/vmime/textPartFactory.cpp | 2 |
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() + "'."); } |
