From e0d79c1292ad2f05e88e605ec3d37cdd25485352 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 14 May 2010 13:54:56 +0000 Subject: Add missing "public" qualifier to exception inheritance. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944259 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/messaging/exceptions.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'cpp/include') diff --git a/cpp/include/qpid/messaging/exceptions.h b/cpp/include/qpid/messaging/exceptions.h index e20c1742c1..74393e2463 100644 --- a/cpp/include/qpid/messaging/exceptions.h +++ b/cpp/include/qpid/messaging/exceptions.h @@ -46,17 +46,17 @@ struct InvalidOptionString : public MessagingException QPID_CLIENT_EXTERN InvalidOptionString(const std::string& msg); }; -struct KeyError : MessagingException +struct KeyError : public MessagingException { QPID_CLIENT_EXTERN KeyError(const std::string&); }; -struct LinkError : MessagingException +struct LinkError : public MessagingException { QPID_CLIENT_EXTERN LinkError(const std::string&); }; -struct AddressError : LinkError +struct AddressError : public LinkError { QPID_CLIENT_EXTERN AddressError(const std::string&); }; @@ -88,62 +88,62 @@ struct MalformedAddress : public AddressError QPID_CLIENT_EXTERN MalformedAddress(const std::string& msg); }; -struct ReceiverError : LinkError +struct ReceiverError : public LinkError { QPID_CLIENT_EXTERN ReceiverError(const std::string&); }; -struct FetchError : ReceiverError +struct FetchError : public ReceiverError { QPID_CLIENT_EXTERN FetchError(const std::string&); }; -struct NoMessageAvailable : FetchError +struct NoMessageAvailable : public FetchError { QPID_CLIENT_EXTERN NoMessageAvailable(); }; -struct SenderError : LinkError +struct SenderError : public LinkError { QPID_CLIENT_EXTERN SenderError(const std::string&); }; -struct SendError : SenderError +struct SendError : public SenderError { QPID_CLIENT_EXTERN SendError(const std::string&); }; -struct TargetCapacityExceeded : SendError +struct TargetCapacityExceeded : public SendError { QPID_CLIENT_EXTERN TargetCapacityExceeded(const std::string&); }; -struct SessionError : MessagingException +struct SessionError : public MessagingException { QPID_CLIENT_EXTERN SessionError(const std::string&); }; -struct TransactionError : SessionError +struct TransactionError : public SessionError { QPID_CLIENT_EXTERN TransactionError(const std::string&); }; -struct TransactionAborted : TransactionError +struct TransactionAborted : public TransactionError { QPID_CLIENT_EXTERN TransactionAborted(const std::string&); }; -struct UnauthorizedAccess : SessionError +struct UnauthorizedAccess : public SessionError { QPID_CLIENT_EXTERN UnauthorizedAccess(const std::string&); }; -struct ConnectionError : MessagingException +struct ConnectionError : public MessagingException { QPID_CLIENT_EXTERN ConnectionError(const std::string&); }; -struct TransportFailure : MessagingException +struct TransportFailure : public MessagingException { QPID_CLIENT_EXTERN TransportFailure(const std::string&); }; -- cgit v1.2.1