aboutsummaryrefslogtreecommitdiffstats
path: root/src/exception.hpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-16 21:14:46 +0000
committerVincent Richard <[email protected]>2004-12-16 21:14:46 +0000
commit34871eb231f69d46a594b5184b8aba5abbf4d6a6 (patch)
tree3e1f458848230ab57dd30a1895eadb3130684feb /src/exception.hpp
parentMissing '= 0' on pure virtual function. (diff)
downloadvmime-34871eb231f69d46a594b5184b8aba5abbf4d6a6.tar.gz
vmime-34871eb231f69d46a594b5184b8aba5abbf4d6a6.zip
Added isValidPath() in fileSystemFactory.
Diffstat (limited to 'src/exception.hpp')
-rw-r--r--src/exception.hpp5
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() {}
};