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 /python/modules/IcePy | |
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 'python/modules/IcePy')
-rw-r--r-- | python/modules/IcePy/Slice.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/python/modules/IcePy/Slice.cpp b/python/modules/IcePy/Slice.cpp index 3f0d0a3c264..6dc042e6adb 100644 --- a/python/modules/IcePy/Slice.cpp +++ b/python/modules/IcePy/Slice.cpp @@ -238,16 +238,6 @@ IcePy_compile(PyObject* /*self*/, PyObject* args) consoleErr << argSeq[0] << ": error:" << ex.what() << endl; rc = EXIT_FAILURE; } - catch(const std::string& msg) - { - consoleErr << argSeq[0] << ": error:" << msg << endl; - rc = EXIT_FAILURE; - } - catch(const char* msg) - { - consoleErr << argSeq[0] << ": error:" << msg << endl; - rc = EXIT_FAILURE; - } catch(...) { consoleErr << argSeq[0] << ": error:" << "unknown exception" << endl; |