aboutsummaryrefslogtreecommitdiffstats
path: root/src/exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/exception.cpp')
-rw-r--r--src/exception.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/exception.cpp b/src/exception.cpp
index 60ec95b4..fd223b2a 100644
--- a/src/exception.cpp
+++ b/src/exception.cpp
@@ -334,6 +334,18 @@ exception* system_error::clone() const { return new system_error(*this); }
const char* system_error::name() const throw() { return "system_error"; }
+//
+// malformed_url
+//
+
+malformed_url::~malformed_url() throw() {}
+malformed_url::malformed_url(const string& error, const exception& other)
+ : exception("Malformed URL: " + error + ".", other) {}
+
+exception* malformed_url::clone() const { return new malformed_url(*this); }
+const char* malformed_url::name() const throw() { return "malformed_url"; }
+
+
#if VMIME_HAVE_MESSAGING_FEATURES
@@ -610,18 +622,6 @@ const char* partial_fetch_not_supported::name() const throw() { return "partial_
//
-// malformed_url
-//
-
-malformed_url::~malformed_url() throw() {}
-malformed_url::malformed_url(const string& error, const exception& other)
- : net_exception("Malformed URL: " + error + ".", other) {}
-
-exception* malformed_url::clone() const { return new malformed_url(*this); }
-const char* malformed_url::name() const throw() { return "malformed_url"; }
-
-
-//
// invalid_folder_name
//