diff options
author | Vincent Richard <[email protected]> | 2005-09-06 20:08:39 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-09-06 20:08:39 +0000 |
commit | 3b1fcbe825c90dcb5e358ad7632b45d4cd512f54 (patch) | |
tree | 183d183a49b40058a300a7832cfe02c91ec5cab8 /src/exception.cpp | |
parent | Added progression notifications. (diff) | |
download | vmime-3b1fcbe825c90dcb5e358ad7632b45d4cd512f54.tar.gz vmime-3b1fcbe825c90dcb5e358ad7632b45d4cd512f54.zip |
New namespace for message digest algorithms.
Diffstat (limited to 'src/exception.cpp')
-rw-r--r-- | src/exception.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/exception.cpp b/src/exception.cpp index a8479b82..7482482a 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -121,6 +121,18 @@ const char* no_encoder_available::name() const throw() { return "no_encoder_avai // +// no_digest_algorithm_available +// + +no_digest_algorithm_available::~no_digest_algorithm_available() throw() {} +no_digest_algorithm_available::no_digest_algorithm_available(const string& name, const exception& other) + : exception("No algorithm available: '" + name + "'.", other) {} + +exception* no_digest_algorithm_available::clone() const { return new no_digest_algorithm_available(*this); } +const char* no_digest_algorithm_available::name() const throw() { return "no_digest_algorithm_available"; } + + +// // no_such_parameter // |