aboutsummaryrefslogtreecommitdiffstats
path: root/src/exception.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-11-23 08:35:58 +0000
committerVincent Richard <[email protected]>2013-11-23 08:35:58 +0000
commit2bbf3eac25c92e12c2ffef713ef3c8cbca541ca8 (patch)
tree87de939bca2c3d0ff435b37d4825a78bcb4549e3 /src/exception.cpp
parentDo not throw exception for normal code flow (exceptions::no_such_parameter). (diff)
downloadvmime-2bbf3eac25c92e12c2ffef713ef3c8cbca541ca8.tar.gz
vmime-2bbf3eac25c92e12c2ffef713ef3c8cbca541ca8.zip
Do not throw exception for normal code flow (removed exceptions::no_object_found).
Diffstat (limited to 'src/exception.cpp')
-rw-r--r--src/exception.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/exception.cpp b/src/exception.cpp
index 3ea6e25a..e1f40ce4 100644
--- a/src/exception.cpp
+++ b/src/exception.cpp
@@ -275,18 +275,6 @@ const char* no_recipient::name() const throw() { return "no_recipient"; }
//
-// no_object_found
-//
-
-no_object_found::~no_object_found() throw() {}
-no_object_found::no_object_found(const exception& other)
- : exception("No object found.", other) {}
-
-exception* no_object_found::clone() const { return new no_object_found(*this); }
-const char* no_object_found::name() const throw() { return "no_object_found"; }
-
-
-//
// no_such_property
//