summaryrefslogtreecommitdiff
path: root/cpp/test/IceStorm/repstress
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-01-25 18:42:10 +0100
committerBenoit Foucher <benoit@zeroc.com>2017-01-25 18:42:10 +0100
commit524c89c8c5ea8be6d989c855095cf4c58097e654 (patch)
tree697a384847d23d3d84345b84339f42d63d45687a /cpp/test/IceStorm/repstress
parentFixed ICE-7281 - skipEmptyEncapsulation now checks for the encoding version (diff)
downloadice-524c89c8c5ea8be6d989c855095cf4c58097e654.tar.bz2
ice-524c89c8c5ea8be6d989c855095cf4c58097e654.tar.xz
ice-524c89c8c5ea8be6d989c855095cf4c58097e654.zip
First cut of ICE-6920 - Remove try/catch block around communicator destroy
Diffstat (limited to 'cpp/test/IceStorm/repstress')
-rw-r--r--cpp/test/IceStorm/repstress/Control.cpp10
-rw-r--r--cpp/test/IceStorm/repstress/Publisher.cpp10
-rw-r--r--cpp/test/IceStorm/repstress/Subscriber.cpp10
3 files changed, 3 insertions, 27 deletions
diff --git a/cpp/test/IceStorm/repstress/Control.cpp b/cpp/test/IceStorm/repstress/Control.cpp
index c04289cdbad..9e893aaf168 100644
--- a/cpp/test/IceStorm/repstress/Control.cpp
+++ b/cpp/test/IceStorm/repstress/Control.cpp
@@ -49,15 +49,7 @@ main(int argc, char* argv[])
if(communicator)
{
- try
- {
- communicator->destroy();
- }
- catch(const Exception& ex)
- {
- cerr << ex << endl;
- status = EXIT_FAILURE;
- }
+ communicator->destroy();
}
return status;
diff --git a/cpp/test/IceStorm/repstress/Publisher.cpp b/cpp/test/IceStorm/repstress/Publisher.cpp
index b8a91876a9e..44897685028 100644
--- a/cpp/test/IceStorm/repstress/Publisher.cpp
+++ b/cpp/test/IceStorm/repstress/Publisher.cpp
@@ -155,15 +155,7 @@ main(int argc, char* argv[])
if(communicator)
{
- try
- {
- communicator->destroy();
- }
- catch(const Exception& ex)
- {
- cerr << ex << endl;
- status = EXIT_FAILURE;
- }
+ communicator->destroy();
}
return status;
diff --git a/cpp/test/IceStorm/repstress/Subscriber.cpp b/cpp/test/IceStorm/repstress/Subscriber.cpp
index 6ac382ce38c..359cbde53f2 100644
--- a/cpp/test/IceStorm/repstress/Subscriber.cpp
+++ b/cpp/test/IceStorm/repstress/Subscriber.cpp
@@ -146,15 +146,7 @@ main(int argc, char* argv[])
if(communicator)
{
- try
- {
- communicator->destroy();
- }
- catch(const Exception& ex)
- {
- cerr << ex << endl;
- status = EXIT_FAILURE;
- }
+ communicator->destroy();
}
return status;