Closed bernardnormier closed 7 months ago
I think we have to keep a few of them at least for 3.7
./cpp/src/Glacier2Lib/Application.cpp: catch(const char* ex)
./cpp/src/Ice/Service.cpp: catch(const char* msg)
./cpp/src/Ice/PluginManagerI.cpp: catch(const char* msg)
./cpp/src/Ice/Application.cpp: catch(const char* msg)
./cpp/src/Ice/Application.cpp: catch(const char* msg)
Removing this could break applications that work fine with 3.7.1
I remove most of the occurrences just keep the ones mentioned above for compatibility. We can remove the rest for 3.8
We should not throw or catch C-strings (or any type not derived from
std::exception
), yet we have quite a number ofcatch(const char*)
in the code:ICE-8639