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/slice2py | |
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/slice2py')
-rw-r--r-- | cpp/src/slice2py/Main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cpp/src/slice2py/Main.cpp b/cpp/src/slice2py/Main.cpp index 0f2c3ab3f5e..d470f603606 100644 --- a/cpp/src/slice2py/Main.cpp +++ b/cpp/src/slice2py/Main.cpp @@ -32,16 +32,6 @@ int main(int argc, char* argv[]) consoleErr << args[0] << ": error:" << ex.what() << endl; return EXIT_FAILURE; } - catch(const std::string& msg) - { - consoleErr << args[0] << ": error:" << msg << endl; - return EXIT_FAILURE; - } - catch(const char* msg) - { - consoleErr << args[0] << ": error:" << msg << endl; - return EXIT_FAILURE; - } catch(...) { consoleErr << args[0] << ": error:" << "unknown exception" << endl; |