summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Slice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'python/modules/IcePy/Slice.cpp')
-rw-r--r--python/modules/IcePy/Slice.cpp10
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;