summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2014-07-07 19:44:42 +0000
committerGordon Sim <gsim@apache.org>2014-07-07 19:44:42 +0000
commit8f8bb3e30a43611c15614e8a9a12fbfe99d0261e (patch)
tree1d75f7975c7a731056e18be6869d357ed1edf32c /qpid/cpp/include
parente5433801093970abd30c17f34b0957a748a8aefb (diff)
downloadqpid-python-8f8bb3e30a43611c15614e8a9a12fbfe99d0261e.tar.gz
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
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/messaging/exceptions.h5
1 files changed, 5 insertions, 0 deletions
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