diff options
author | Alan Conway <aconway@apache.org> | 2011-07-28 18:28:56 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2011-07-28 18:28:56 +0000 |
commit | 95ad2adfc443b227eba224279188c36906c1db66 (patch) | |
tree | 14c91400e2284b2c4f782d203a60d44dbee31f9e /qpid/cpp/src/qpid/broker/Broker.cpp | |
parent | 8db25489a2971803b21d73814521b40731111bd5 (diff) | |
download | qpid-python-qpid-3163.tar.gz |
Merge branch 'visibility-hidden' into qpid-3163qpid-3163
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3163@1151956 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/broker/Broker.cpp')
-rw-r--r-- | qpid/cpp/src/qpid/broker/Broker.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/broker/Broker.cpp b/qpid/cpp/src/qpid/broker/Broker.cpp index 240766c443..8bcfd45312 100644 --- a/qpid/cpp/src/qpid/broker/Broker.cpp +++ b/qpid/cpp/src/qpid/broker/Broker.cpp @@ -20,6 +20,7 @@ */ #include "qpid/broker/Broker.h" +#include "qpid/broker/BrokerImportExport.h" #include "qpid/broker/ConnectionState.h" #include "qpid/broker/DirectExchange.h" #include "qpid/broker/FanOutExchange.h" @@ -508,7 +509,7 @@ const std::string _TRUE("true"); const std::string _FALSE("false"); } -struct InvalidBindingIdentifier : public qpid::Exception +struct QPID_BROKER_CLASS_EXTERN InvalidBindingIdentifier : public qpid::Exception { InvalidBindingIdentifier(const std::string& name) : qpid::Exception(name) {} std::string getPrefix() const { return "invalid binding"; } @@ -543,13 +544,13 @@ struct BindingIdentifier } }; -struct ObjectAlreadyExists : public qpid::Exception +struct QPID_BROKER_CLASS_EXTERN ObjectAlreadyExists : public qpid::Exception { ObjectAlreadyExists(const std::string& name) : qpid::Exception(name) {} std::string getPrefix() const { return "object already exists"; } }; -struct UnknownObjectType : public qpid::Exception +struct QPID_BROKER_CLASS_EXTERN UnknownObjectType : public qpid::Exception { UnknownObjectType(const std::string& type) : qpid::Exception(type) {} std::string getPrefix() const { return "unknown object type"; } |