diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2009-05-03 04:04:00 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2009-05-03 04:04:00 +0000 |
| commit | b9584aeaa3623c6ff1668352a05f507425bec398 (patch) | |
| tree | 56f4db0eb4a8206f592a485b94ec130ab7ade3d2 /qpid/cpp | |
| parent | bf882447f4c476fb790c2214a07ed82fe355d422 (diff) | |
| download | qpid-python-b9584aeaa3623c6ff1668352a05f507425bec398.tar.gz | |
Fixed ExchangeRegistry definitions to match changed declarations
in previous checkin
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@771021 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/ExchangeRegistry.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpid/broker/ExchangeRegistry.cpp b/qpid/cpp/src/qpid/broker/ExchangeRegistry.cpp index 01f8bbfee6..bb0eec34ba 100644 --- a/qpid/cpp/src/qpid/broker/ExchangeRegistry.cpp +++ b/qpid/cpp/src/qpid/broker/ExchangeRegistry.cpp @@ -32,15 +32,13 @@ using namespace qpid::sys; using std::pair; using qpid::framing::FieldTable; -pair<Exchange::shared_ptr, bool> ExchangeRegistry::declare(const string& name, const string& type) - throw(UnknownExchangeTypeException){ +pair<Exchange::shared_ptr, bool> ExchangeRegistry::declare(const string& name, const string& type){ return declare(name, type, false, FieldTable()); } pair<Exchange::shared_ptr, bool> ExchangeRegistry::declare(const string& name, const string& type, - bool durable, const FieldTable& args) - throw(UnknownExchangeTypeException){ + bool durable, const FieldTable& args){ RWlock::ScopedWlock locker(lock); ExchangeMap::iterator i = exchanges.find(name); if (i == exchanges.end()) { |
