summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/consumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Bug_1884_Regression/consumer.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/Bug_1884_Regression/consumer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/consumer.cpp b/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/consumer.cpp
index cc8af3b58e1..8390c42fd8c 100644
--- a/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/consumer.cpp
+++ b/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/consumer.cpp
@@ -115,7 +115,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
proxySupplier_obj = ca->obtain_notification_push_supplier(ctype, proxy_id);
}
- catch(CosNotifyChannelAdmin::AdminLimitExceeded err)
+ catch(CosNotifyChannelAdmin::AdminLimitExceeded& err)
{
std::cerr << "CosNotifyChannelAdmin::AdminLimitExceeded Exception!" << std::endl;
throw;
@@ -164,7 +164,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
pps->connect_structured_push_consumer(spc.in());
}
- catch (CosEventChannelAdmin::AlreadyConnected ac)
+ catch (CosEventChannelAdmin::AlreadyConnected& ac)
{
std::cerr << "CosEventChannelAdmin::AlreadyConnected" << std::endl;
throw;