summaryrefslogtreecommitdiff
path: root/ruby/src/IceRuby/Slice.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-07-26 13:42:37 +0200
committerJose <jose@zeroc.com>2018-07-26 13:42:37 +0200
commit7d8142a7797d6eef4818c28e6e3770019647a5d5 (patch)
tree9ede3bcf5f97ba5a153f41e203cf327722681576 /ruby/src/IceRuby/Slice.cpp
parentSimplify EndpointHostResolver initialization (diff)
downloadice-7d8142a7797d6eef4818c28e6e3770019647a5d5.tar.bz2
ice-7d8142a7797d6eef4818c28e6e3770019647a5d5.tar.xz
ice-7d8142a7797d6eef4818c28e6e3770019647a5d5.zip
Eliminate catch(const char*) #48
Diffstat (limited to 'ruby/src/IceRuby/Slice.cpp')
-rw-r--r--ruby/src/IceRuby/Slice.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/ruby/src/IceRuby/Slice.cpp b/ruby/src/IceRuby/Slice.cpp
index c01bcc716fd..679b040291c 100644
--- a/ruby/src/IceRuby/Slice.cpp
+++ b/ruby/src/IceRuby/Slice.cpp
@@ -190,16 +190,6 @@ IceRuby_compile(int argc, VALUE* argv, VALUE self)
cerr << argSeq[0] << ": error:" << ex.what() << endl;
rc = EXIT_FAILURE;
}
- catch(const std::string& msg)
- {
- cerr << argSeq[0] << ": error:" << msg << endl;
- rc = EXIT_FAILURE;
- }
- catch(const char* msg)
- {
- cerr << argSeq[0] << ": error:" << msg << endl;
- rc = EXIT_FAILURE;
- }
catch(...)
{
cerr << argSeq[0] << ": error:" << "unknown exception" << endl;