diff options
Diffstat (limited to 'qpid/cpp/src/qpid/broker/QueueBindings.cpp')
-rw-r--r-- | qpid/cpp/src/qpid/broker/QueueBindings.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/QueueBindings.cpp b/qpid/cpp/src/qpid/broker/QueueBindings.cpp index e2fcd493db..95e529f47e 100644 --- a/qpid/cpp/src/qpid/broker/QueueBindings.cpp +++ b/qpid/cpp/src/qpid/broker/QueueBindings.cpp @@ -20,8 +20,10 @@ */ #include "QueueBindings.h" #include "ExchangeRegistry.h" +#include "qpid/framing/reply_exceptions.h" using qpid::framing::FieldTable; +using qpid::framing::NotFoundException; using std::string; using namespace qpid::broker; @@ -35,7 +37,7 @@ void QueueBindings::unbind(ExchangeRegistry& exchanges, Queue::shared_ptr queue) for (Bindings::iterator i = bindings.begin(); i != bindings.end(); i++) { try { exchanges.get(i->exchange)->unbind(queue, i->key, &(i->args)); - } catch (ChannelException&) { + } catch (const NotFoundException&) { } } } |