aboutsummaryrefslogtreecommitdiffstats
path: root/src/exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/exception.cpp')
-rw-r--r--src/exception.cpp12
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
//