summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/supplier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Bug_1884_Regression/supplier.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/Bug_1884_Regression/supplier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/supplier.cpp b/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/supplier.cpp
index 821e496afbd..a97114e1d40 100644
--- a/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/supplier.cpp
+++ b/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/supplier.cpp
@@ -57,7 +57,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
proxyCon_obj = sa->obtain_notification_push_consumer(ctype, proxy_id);
}
- catch(CosNotifyChannelAdmin::AdminLimitExceeded err)
+ catch(CosNotifyChannelAdmin::AdminLimitExceeded& err)
{
std::cerr << "CosNotifyChannelAdmin::AdminLimitExceeded Exception!" << std::endl;
throw;
@@ -71,7 +71,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ppc->connect_structured_push_supplier(sps.in());
}
- catch (CosEventChannelAdmin::AlreadyConnected ac)
+ catch (CosEventChannelAdmin::AlreadyConnected& ac)
{
std::cerr << "CosEventChannelAdmin::AlreadyConnected" << std::endl;
throw;