diff options
author | Vincent Richard <[email protected]> | 2013-11-23 08:43:35 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-11-23 08:43:35 +0000 |
commit | def78908846541460b9d0142a76bf58732326c99 (patch) | |
tree | 46626d28fa40b3b0e1b79b26b884ff67c21d63be /src/exception.cpp | |
parent | Do not throw exception for normal code flow (removed exceptions::no_object_fo... (diff) | |
download | vmime-def78908846541460b9d0142a76bf58732326c99.tar.gz vmime-def78908846541460b9d0142a76bf58732326c99.zip |
Do not throw exception for normal code flow. Removed exceptions::no_such_address and exceptions::no_such_mailbox, using std::out_of_range instead.
Diffstat (limited to 'src/exception.cpp')
-rw-r--r-- | src/exception.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/exception.cpp b/src/exception.cpp index e1f40ce4..45f672a3 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -179,18 +179,6 @@ const char* no_such_part::name() const throw() { return "no_such_part"; } // -// no_such_mailbox -// - -no_such_mailbox::~no_such_mailbox() throw() {} -no_such_mailbox::no_such_mailbox(const exception& other) - : exception("Mailbox not found.", other) {} - -exception* no_such_mailbox::clone() const { return new no_such_mailbox(*this); } -const char* no_such_mailbox::name() const throw() { return "no_such_mailbox"; } - - -// // no_such_message_id // @@ -203,18 +191,6 @@ const char* no_such_message_id::name() const throw() { return "no_such_message_i // -// no_such_address -// - -no_such_address::~no_such_address() throw() {} -no_such_address::no_such_address(const exception& other) - : exception("Address not found.", other) {} - -exception* no_such_address::clone() const { return new no_such_address(*this); } -const char* no_such_address::name() const throw() { return "no_such_address"; } - - -// // open_file_error // |