summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/GenUtil.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-17 04:03:25 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-17 04:03:25 +0000
commitb12f3c9681c7b264fda86c7bacdcf01f5880b359 (patch)
tree8c74062b8f4cc2ec78e4b4384956d7ed35210c66 /cpp/src/slice2cpp/GenUtil.cpp
parentfixes, fixes, fixes.. (diff)
downloadice-b12f3c9681c7b264fda86c7bacdcf01f5880b359.tar.bz2
ice-b12f3c9681c7b264fda86c7bacdcf01f5880b359.tar.xz
ice-b12f3c9681c7b264fda86c7bacdcf01f5880b359.zip
more fixes
Diffstat (limited to 'cpp/src/slice2cpp/GenUtil.cpp')
-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 06aff936c1f..bac1dcc146c 100644
--- a/cpp/src/slice2cpp/GenUtil.cpp
+++ b/cpp/src/slice2cpp/GenUtil.cpp
@@ -279,7 +279,7 @@ Slice::writeMarshalUnmarshalCode(Output& out, const TypePtr& type, const string&
out << nl << param << " = " << cl->scoped() << "Ptr::dynamicCast(__obj);";
out << nl << "if (!" << param << ')';
out << sb;
- out << nl << "throw ::Ice::ValueUnmarshalException(__FILE__, __LINE__);";
+ out << nl << "throw ::Ice::ServantUnmarshalException(__FILE__, __LINE__);";
out << eb;
}
out << eb;