summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/interceptor/MyObjectI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/interceptor/MyObjectI.cpp')
-rw-r--r--cpp/test/Ice/interceptor/MyObjectI.cpp9
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());
+ }
}
}