diff options
author | Vincent Richard <[email protected]> | 2013-11-21 22:07:50 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-11-21 22:07:50 +0000 |
commit | b075256d8dcdd00874edb599a060e8658153faa0 (patch) | |
tree | c56f19ede18f996aac509f099cc31cf657d0387e /src/exception.cpp | |
parent | Merge branch 'master' of https://github.com/kisli/vmime (diff) | |
download | vmime-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.cpp | 14 |
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 // |