diff options
Diffstat (limited to 'cpp/src/tests/HeadersExchangeTest.cpp')
-rw-r--r-- | cpp/src/tests/HeadersExchangeTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/HeadersExchangeTest.cpp b/cpp/src/tests/HeadersExchangeTest.cpp index c47266caa6..f07f238ee4 100644 --- a/cpp/src/tests/HeadersExchangeTest.cpp +++ b/cpp/src/tests/HeadersExchangeTest.cpp @@ -19,7 +19,7 @@ * */ -#include "qpid/QpidError.h" +#include "qpid/Exception.h" #include "qpid/broker/HeadersExchange.h" #include "qpid/framing/FieldTable.h" #include "qpid/framing/FieldValue.h" @@ -118,7 +118,7 @@ class HeadersExchangeTest : public CppUnit::TestCase try { //just checking this doesn't cause assertion etc exchange.bind(queue, key, &args); - } catch(qpid::QpidError&) { + } catch(qpid::Exception&) { //expected } } |