aboutsummaryrefslogtreecommitdiffstats
path: root/src/exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/exception.cpp')
-rw-r--r--src/exception.cpp12
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
//