summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Service.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-06-19 16:26:19 -0230
committerDwayne Boone <dwayne@zeroc.com>2007-06-19 16:26:19 -0230
commit6653c4246966ad65a871f8e55aab087f98b34dd9 (patch)
tree2f6c238ae05e34100ef45e6c7c60e9f756eebd09 /cpp/src/Ice/Service.cpp
parentFor UDP multicast bind to the multicast address rather than 0.0.0.0 unless on... (diff)
downloadice-6653c4246966ad65a871f8e55aab087f98b34dd9.tar.bz2
ice-6653c4246966ad65a871f8e55aab087f98b34dd9.tar.xz
ice-6653c4246966ad65a871f8e55aab087f98b34dd9.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2140 - Remove code no longer required nowa
that IceUtil::Exception inherits from std::exception
Diffstat (limited to 'cpp/src/Ice/Service.cpp')
-rwxr-xr-xcpp/src/Ice/Service.cpp8
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)