aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/exception.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/exception.hpp')
-rw-r--r--vmime/exception.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/vmime/exception.hpp b/vmime/exception.hpp
index 55d4c480..d7f6912d 100644
--- a/vmime/exception.hpp
+++ b/vmime/exception.hpp
@@ -112,6 +112,9 @@ public:
};
+/** No encoder has been found for the specified encoding name.
+ */
+
class no_encoder_available : public vmime::exception
{
public:
@@ -124,6 +127,21 @@ public:
};
+/** No algorithm has been found for the specified name.
+ */
+
+class no_digest_algorithm_available : public vmime::exception
+{
+public:
+
+ no_digest_algorithm_available(const string& name, const exception& other = NO_EXCEPTION);
+ ~no_digest_algorithm_available() throw();
+
+ exception* clone() const;
+ const char* name() const throw();
+};
+
+
class no_such_parameter : public vmime::exception
{
public: