diff options
author | Michi Henning <michi@zeroc.com> | 2007-11-21 16:37:35 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-11-21 16:37:35 +1000 |
commit | a383113f0becaa15b7e047798aa57026133f9077 (patch) | |
tree | db198efbd739eb6b6b3864c4fdbc0385e4f326be /cpp/test/Ice/interceptor/Client.cpp | |
parent | Fix a problem where protocol selection and other runtime flags were (diff) | |
download | ice-a383113f0becaa15b7e047798aa57026133f9077.tar.bz2 ice-a383113f0becaa15b7e047798aa57026133f9077.tar.xz ice-a383113f0becaa15b7e047798aa57026133f9077.zip |
Bug 2541.
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; |