diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-06-01 13:09:21 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-06-01 13:09:21 +0200 |
commit | 72b05283e92ef3f3e3efeb6f077227cde0d066ff (patch) | |
tree | 453abbfc6ec2880e2b7d016c92b17c55b57ce18b /cpp/test/Ice/interceptor/MyObjectI.cpp | |
parent | Fix linux_id setting (diff) | |
download | ice-72b05283e92ef3f3e3efeb6f077227cde0d066ff.tar.bz2 ice-72b05283e92ef3f3e3efeb6f077227cde0d066ff.tar.xz ice-72b05283e92ef3f3e3efeb6f077227cde0d066ff.zip |
Fixed C++11 interceptor test failure
Diffstat (limited to 'cpp/test/Ice/interceptor/MyObjectI.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/MyObjectI.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/test/Ice/interceptor/MyObjectI.cpp b/cpp/test/Ice/interceptor/MyObjectI.cpp index 02e009fd51e..f1c7586334b 100644 --- a/cpp/test/Ice/interceptor/MyObjectI.cpp +++ b/cpp/test/Ice/interceptor/MyObjectI.cpp @@ -124,7 +124,14 @@ MyObjectI::amdAddWithRetryAsync(int x, if(p == current.ctx.end() || p->second != "no") { - throw Test::RetryException(__FILE__, __LINE__); + try + { + throw Test::RetryException(__FILE__, __LINE__); + } + catch(...) + { + exception(current_exception()); + } } } |