From 524c89c8c5ea8be6d989c855095cf4c58097e654 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Wed, 25 Jan 2017 18:42:10 +0100 Subject: First cut of ICE-6920 - Remove try/catch block around communicator destroy --- cpp/test/Ice/custom/ServerAMD.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'cpp/test/Ice/custom/ServerAMD.cpp') diff --git a/cpp/test/Ice/custom/ServerAMD.cpp b/cpp/test/Ice/custom/ServerAMD.cpp index bdfed90eaff..3e015fb1d9f 100644 --- a/cpp/test/Ice/custom/ServerAMD.cpp +++ b/cpp/test/Ice/custom/ServerAMD.cpp @@ -59,15 +59,7 @@ main(int argc, char** argv) if(communicator) { - try - { - communicator->destroy(); - } - catch(const Ice::Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } + communicator->destroy(); } return status; -- cgit v1.2.3