summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/GenUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/GenUtil.cpp b/cpp/src/slice2cpp/GenUtil.cpp
index 96c480a89d3..06aff936c1f 100644
--- a/cpp/src/slice2cpp/GenUtil.cpp
+++ b/cpp/src/slice2cpp/GenUtil.cpp
@@ -273,7 +273,7 @@ Slice::writeMarshalUnmarshalCode(Output& out, const TypePtr& type, const string&
}
else
{
- out << nl << "throw ::Ice::NoFactoryException(__FILE__, __LINE__);";
+ out << nl << "throw ::Ice::NoServantFactoryException(__FILE__, __LINE__);";
}
out << eb;
out << nl << param << " = " << cl->scoped() << "Ptr::dynamicCast(__obj);";