diff options
Diffstat (limited to 'cpp/src/qpid/Exception.h')
| -rw-r--r-- | cpp/src/qpid/Exception.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/qpid/Exception.h b/cpp/src/qpid/Exception.h index 9cf564104d..57e7c682eb 100644 --- a/cpp/src/qpid/Exception.h +++ b/cpp/src/qpid/Exception.h @@ -80,6 +80,13 @@ struct ClosedException : public Exception { std::string getPrefix() const; }; +/** + * Exception representing transport failure + */ +struct TransportFailure : public Exception { + TransportFailure(const std::string& msg=std::string()) : Exception(msg) {} +}; + } // namespace qpid #endif /*!_Exception_*/ |
