diff options
author | Jose <jose@zeroc.com> | 2018-07-26 13:42:37 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-07-26 13:42:37 +0200 |
commit | 7d8142a7797d6eef4818c28e6e3770019647a5d5 (patch) | |
tree | 9ede3bcf5f97ba5a153f41e203cf327722681576 /cpp/src/IceGrid/Client.cpp | |
parent | Simplify EndpointHostResolver initialization (diff) | |
download | ice-7d8142a7797d6eef4818c28e6e3770019647a5d5.tar.bz2 ice-7d8142a7797d6eef4818c28e6e3770019647a5d5.tar.xz ice-7d8142a7797d6eef4818c28e6e3770019647a5d5.zip |
Eliminate catch(const char*) #48
Diffstat (limited to 'cpp/src/IceGrid/Client.cpp')
-rw-r--r-- | cpp/src/IceGrid/Client.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cpp/src/IceGrid/Client.cpp b/cpp/src/IceGrid/Client.cpp index 9c36fdc6c7c..838c49cd0ff 100644 --- a/cpp/src/IceGrid/Client.cpp +++ b/cpp/src/IceGrid/Client.cpp @@ -273,16 +273,6 @@ Client::main(StringSeq& args) consoleErr << _appName << ": std::exception: " << ex.what() << endl; status = EXIT_FAILURE; } - catch(const std::string& msg) - { - consoleErr << _appName << ": " << msg << endl; - status = EXIT_FAILURE; - } - catch(const char* msg) - { - consoleErr << _appName << ": " << msg << endl; - status = EXIT_FAILURE; - } catch(...) { consoleErr << _appName << ": unknown exception" << endl; |