diff options
Diffstat (limited to 'cpp/test/Ice/interceptor/Client.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/Client.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/test/Ice/interceptor/Client.cpp b/cpp/test/Ice/interceptor/Client.cpp index ab0c96e883c..e1c0256c111 100644 --- a/cpp/test/Ice/interceptor/Client.cpp +++ b/cpp/test/Ice/interceptor/Client.cpp @@ -131,13 +131,12 @@ Client::run(const Test::MyObjectPrx& prx, const InterceptorIPtr& interceptor) prx->badSystemAdd(33, 12); test(false); } - catch(const Ice::InitializationException&) + catch(const Ice::UnknownLocalException&) { - test(prx->ice_isCollocationOptimized()); } - catch(const Ice::UnknownLocalException&) + catch(...) { - test(!prx->ice_isCollocationOptimized()); + test(false); } test(interceptor->getLastOperation() == "badSystemAdd"); cout << "ok" << endl; |