diff options
author | Vincent Richard <[email protected]> | 2005-04-28 10:57:41 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-04-28 10:57:41 +0000 |
commit | 38a86328282779dd8e94ad55e3c10687ebfbe979 (patch) | |
tree | 5a43264d9e380685750d4d6e9316fff940244651 /src/exception.cpp | |
parent | Fixed send example. (diff) | |
download | vmime-38a86328282779dd8e94ad55e3c10687ebfbe979.tar.gz vmime-38a86328282779dd8e94ad55e3c10687ebfbe979.zip |
Sendmail implementation + filtered streams.
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 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 |