diff options
Diffstat (limited to 'cpp/src/tests/EventChannelTest.cpp')
-rw-r--r-- | cpp/src/tests/EventChannelTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/tests/EventChannelTest.cpp b/cpp/src/tests/EventChannelTest.cpp index 3ba54def86..6d8d64e165 100644 --- a/cpp/src/tests/EventChannelTest.cpp +++ b/cpp/src/tests/EventChannelTest.cpp @@ -117,18 +117,18 @@ class EventChannelTest : public CppUnit::TestCase CPPUNIT_ASSERT(re.hasError()); try { re.throwIfError(); - CPPUNIT_FAIL("Expected QpidError."); + CPPUNIT_FAIL("Expected Exception."); } - catch (const qpid::QpidError&) { } + catch (const qpid::Exception&) { } // Bad file descriptor. Note in this case we fail // in postEvent and throw immediately. try { ReadEvent bad; ec->postEvent(bad); - CPPUNIT_FAIL("Expected QpidError."); + CPPUNIT_FAIL("Expected Exception."); } - catch (const qpid::QpidError&) { } + catch (const qpid::Exception&) { } } void testWrite() { |