From 38a86328282779dd8e94ad55e3c10687ebfbe979 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 28 Apr 2005 10:57:41 +0000 Subject: Sendmail implementation + filtered streams. --- src/exception.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/exception.cpp') diff --git a/src/exception.cpp b/src/exception.cpp index b7be006c..bac5c728 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -294,6 +294,18 @@ exception* invalid_argument::clone() const { return new invalid_argument(*this); const string invalid_argument::name() const { return "invalid_argument"; } +// +// system_error +// + +system_error::~system_error() throw() { } +system_error::system_error(const string& what, const exception& other) + : exception(what, other) {} + +exception* system_error::clone() const { return new system_error(*this); } +const string system_error::name() const { return "system_error"; } + + #if VMIME_HAVE_MESSAGING_FEATURES -- cgit v1.2.3