diff options
Diffstat (limited to 'cpp/include/qpid/messaging/exceptions.h')
-rw-r--r-- | cpp/include/qpid/messaging/exceptions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/include/qpid/messaging/exceptions.h b/cpp/include/qpid/messaging/exceptions.h index f1d79b2535..d5527cdd63 100644 --- a/cpp/include/qpid/messaging/exceptions.h +++ b/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 |