summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r--cpp/test/Ice/exceptions/AllTests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp
index 07f865ba6dd..2c7f4ed8d26 100644
--- a/cpp/test/Ice/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/exceptions/AllTests.cpp
@@ -405,7 +405,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
try
{
- thrower->throwRuntimeException();
+ thrower->throwLocalException();
test(false);
}
catch(const Ice::TimeoutException&)
@@ -413,7 +413,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
// We get the original exception with collocation
// optimization.
}
- catch(const Ice::UnknownRuntimeException&)
+ catch(const Ice::UnknownLocalException&)
{
// We get the an unknown local exception without collocation
// optimization.