diff options
author | Vincent Richard <[email protected]> | 2013-07-16 17:06:46 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-07-16 17:06:46 +0000 |
commit | 00585bc8233d4db631b9fb84b20fc1a4dfa0e28c (patch) | |
tree | de8656779c32d92633def01be27c62f5fcfd96fa /src/exception.cpp | |
parent | Fixed method description. (diff) | |
download | vmime-00585bc8233d4db631b9fb84b20fc1a4dfa0e28c.tar.gz vmime-00585bc8233d4db631b9fb84b20fc1a4dfa0e28c.zip |
Fixed status update. Prevent opening the same folder two times in a session.
Diffstat (limited to 'src/exception.cpp')
-rw-r--r-- | src/exception.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/exception.cpp b/src/exception.cpp index 7dd40992..92ce1a30 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -467,6 +467,18 @@ const char* folder_not_found::name() const throw() { return "folder_not_found"; // +// folder_already_open +// + +folder_already_open::~folder_already_open() throw() {} +folder_already_open::folder_already_open(const exception& other) + : net_exception("Folder is already open in the same session.", other) {} + +exception* folder_already_open::clone() const { return new folder_already_open(*this); } +const char* folder_already_open::name() const throw() { return "folder_already_open"; } + + +// // message_not_found // |