diff options
Diffstat (limited to 'cpp/src/Ice/Service.cpp')
-rwxr-xr-x | cpp/src/Ice/Service.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cpp/src/Ice/Service.cpp b/cpp/src/Ice/Service.cpp index e3c8decc1d0..155b2c68625 100755 --- a/cpp/src/Ice/Service.cpp +++ b/cpp/src/Ice/Service.cpp @@ -775,16 +775,10 @@ Ice::Service::run(int& argc, char* argv[], const InitializationData& initData) } } } - catch(const IceUtil::Exception& ex) - { - ostringstream ostr; - ostr << "service caught unhandled Ice exception:\n" << ex; - error(ostr.str()); - } catch(const std::exception& ex) { ostringstream ostr; - ostr << "service caught unhandled std::exception:\n" << ex.what(); + ostr << "service caught unhandled exception:\n" << ex.what(); error(ostr.str()); } catch(const std::string& msg) |