summaryrefslogtreecommitdiff
path: root/cpp/src/slice2objc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2objc')
-rw-r--r--cpp/src/slice2objc/Main.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/cpp/src/slice2objc/Main.cpp b/cpp/src/slice2objc/Main.cpp
index 5b0c1422495..c0f09d940ee 100644
--- a/cpp/src/slice2objc/Main.cpp
+++ b/cpp/src/slice2objc/Main.cpp
@@ -348,16 +348,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;