diff options
author | Vincent Richard <[email protected]> | 2004-12-16 21:14:46 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-16 21:14:46 +0000 |
commit | 34871eb231f69d46a594b5184b8aba5abbf4d6a6 (patch) | |
tree | 3e1f458848230ab57dd30a1895eadb3130684feb /src/exception.hpp | |
parent | Missing '= 0' on pure virtual function. (diff) | |
download | vmime-34871eb231f69d46a594b5184b8aba5abbf4d6a6.tar.gz vmime-34871eb231f69d46a594b5184b8aba5abbf4d6a6.zip |
Added isValidPath() in fileSystemFactory.
Diffstat (limited to 'src/exception.hpp')
-rw-r--r-- | src/exception.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exception.hpp b/src/exception.hpp index 41e113ac..78a595b5 100644 --- a/src/exception.hpp +++ b/src/exception.hpp @@ -534,7 +534,10 @@ class invalid_folder_name : public messaging_exception { public: - invalid_folder_name(const string& error) : messaging_exception("Invalid folder name: " + error + ".") {} + invalid_folder_name(const string& error = "") + : messaging_exception(error.empty() + ? "Invalid folder name: " + error + "." + : "Invalid folder name.") {} ~invalid_folder_name() throw() {} }; |