diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-01-25 18:42:10 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-01-25 18:42:10 +0100 |
commit | 524c89c8c5ea8be6d989c855095cf4c58097e654 (patch) | |
tree | 697a384847d23d3d84345b84339f42d63d45687a /cpp/test/IceStorm/repstress | |
parent | Fixed ICE-7281 - skipEmptyEncapsulation now checks for the encoding version (diff) | |
download | ice-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.cpp | 10 | ||||
-rw-r--r-- | cpp/test/IceStorm/repstress/Publisher.cpp | 10 | ||||
-rw-r--r-- | cpp/test/IceStorm/repstress/Subscriber.cpp | 10 |
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; |