From 8f8bb3e30a43611c15614e8a9a12fbfe99d0261e Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 7 Jul 2014 19:44:42 +0000 Subject: QPID-5882: fix authentication failure on 1.0 codepath git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608578 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/include/qpid/messaging/exceptions.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qpid/cpp/include') diff --git a/qpid/cpp/include/qpid/messaging/exceptions.h b/qpid/cpp/include/qpid/messaging/exceptions.h index f1d79b2535..d5527cdd63 100644 --- a/qpid/cpp/include/qpid/messaging/exceptions.h +++ b/qpid/cpp/include/qpid/messaging/exceptions.h @@ -208,6 +208,11 @@ struct QPID_MESSAGING_CLASS_EXTERN ConnectionError : public MessagingException QPID_MESSAGING_EXTERN ConnectionError(const std::string&); }; +struct QPID_MESSAGING_CLASS_EXTERN AuthenticationFailure : public ConnectionError +{ + QPID_MESSAGING_EXTERN AuthenticationFailure(const std::string&); +}; + /** * Thrown to indicate loss of underlying connection. When * auto-reconnect is used this will be caught by the library and used -- cgit v1.2.1