summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/interceptor/Client.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2007-11-21 16:37:35 +1000
committerMichi Henning <michi@zeroc.com>2007-11-21 16:37:35 +1000
commita383113f0becaa15b7e047798aa57026133f9077 (patch)
treedb198efbd739eb6b6b3864c4fdbc0385e4f326be /cpp/test/Ice/interceptor/Client.cpp
parentFix a problem where protocol selection and other runtime flags were (diff)
downloadice-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.cpp7
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;