aboutsummaryrefslogtreecommitdiffstats
path: root/src/exception.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-11-21 22:07:50 +0000
committerVincent Richard <[email protected]>2013-11-21 22:07:50 +0000
commitb075256d8dcdd00874edb599a060e8658153faa0 (patch)
treec56f19ede18f996aac509f099cc31cf657d0387e /src/exception.cpp
parentMerge branch 'master' of https://github.com/kisli/vmime (diff)
downloadvmime-b075256d8dcdd00874edb599a060e8658153faa0.tar.gz
vmime-b075256d8dcdd00874edb599a060e8658153faa0.zip
Do not throw exception for normal code flow.
Diffstat (limited to 'src/exception.cpp')
-rw-r--r--src/exception.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/exception.cpp b/src/exception.cpp
index bf37de00..3ea6e25a 100644
--- a/src/exception.cpp
+++ b/src/exception.cpp
@@ -429,20 +429,6 @@ const char* unsupported_option::name() const throw() { return "unsupported_optio
//
-// no_service_available
-//
-
-no_service_available::~no_service_available() throw() {}
-no_service_available::no_service_available(const string& proto, const exception& other)
- : net_exception(proto.empty()
- ? "No service available for this protocol."
- : "No service available for this protocol: '" + proto + "'.", other) {}
-
-exception* no_service_available::clone() const { return new no_service_available(*this); }
-const char* no_service_available::name() const throw() { return "no_service_available"; }
-
-
-//
// illegal_state
//