summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/Exception.h')
-rw-r--r--cpp/src/qpid/Exception.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/Exception.h b/cpp/src/qpid/Exception.h
index cbd175214d..6df012ba28 100644
--- a/cpp/src/qpid/Exception.h
+++ b/cpp/src/qpid/Exception.h
@@ -86,6 +86,10 @@ struct TransportFailure : public Exception {
TransportFailure(const std::string& msg=std::string()) : Exception(msg) {}
};
+struct ProtocolVersionError : public TransportFailure {
+ ProtocolVersionError(const std::string& msg=std::string()) : TransportFailure(msg) {}
+};
+
} // namespace qpid
#endif /*!_Exception_*/