summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/slicing/exceptions/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/slicing/exceptions/AllTests.cpp')
-rw-r--r--cpp/test/Ice/slicing/exceptions/AllTests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/slicing/exceptions/AllTests.cpp b/cpp/test/Ice/slicing/exceptions/AllTests.cpp
index 74ce31bba6c..0ea733dde2c 100644
--- a/cpp/test/Ice/slicing/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/slicing/exceptions/AllTests.cpp
@@ -773,10 +773,10 @@ allTests(const Ice::CommunicatorPtr& communicator)
//
test(test->ice_getEncodingVersion() == Ice::Encoding_1_0);
}
- catch(const Ice::MarshalException&)
+ catch(const Ice::UnknownUserException&)
{
//
- // A MarshalException is raised for the compact format because the
+ // An UnknownUserException is raised for the compact format because the
// most-derived type is unknown and the exception cannot be sliced.
//
test(test->ice_getEncodingVersion() != Ice::Encoding_1_0);