summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Shlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/Shlib.cpp')
-rw-r--r--qpid/cpp/src/tests/Shlib.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/Shlib.cpp b/qpid/cpp/src/tests/Shlib.cpp
index 87136425ab..6420af915e 100644
--- a/qpid/cpp/src/tests/Shlib.cpp
+++ b/qpid/cpp/src/tests/Shlib.cpp
@@ -20,6 +20,7 @@
#include "test_tools.h"
#include "qpid/sys/Shlib.h"
+#include "qpid/Exception.h"
#define BOOST_AUTO_TEST_MAIN // Must come before #include<boost/test/*>
#include <boost/test/auto_unit_test.hpp>
@@ -40,7 +41,7 @@ BOOST_AUTO_TEST_CASE(testShlib) {
sh.getSymbol("callMe");
BOOST_FAIL("Expected exception");
}
- catch (...) {}
+ catch (const qpid::Exception&) {}
}
BOOST_AUTO_TEST_CASE(testAutoShlib) {