summaryrefslogtreecommitdiff
path: root/cpp/src/slice2vb/Gen.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2006-01-12 01:05:22 +0000
committerMichi Henning <michi@zeroc.com>2006-01-12 01:05:22 +0000
commitb10cc6c2641eea39a5232c31b00fdba9a9db7843 (patch)
tree5b0111e5e6bd0f27904598a659ea08b2f1c8dfba /cpp/src/slice2vb/Gen.cpp
parentfixing bug 732: equals() can raise ClassCastException (diff)
downloadice-b10cc6c2641eea39a5232c31b00fdba9a9db7843.tar.bz2
ice-b10cc6c2641eea39a5232c31b00fdba9a9db7843.tar.xz
ice-b10cc6c2641eea39a5232c31b00fdba9a9db7843.zip
Bug 732.
Diffstat (limited to 'cpp/src/slice2vb/Gen.cpp')
-rwxr-xr-xcpp/src/slice2vb/Gen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/slice2vb/Gen.cpp b/cpp/src/slice2vb/Gen.cpp
index cba61b713cd..f7e6c7303d1 100755
--- a/cpp/src/slice2vb/Gen.cpp
+++ b/cpp/src/slice2vb/Gen.cpp
@@ -2189,8 +2189,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
_out << nl << "End If";
_out << nl << "If Not TypeOf other__ Is " << name << " Then";
_out.inc();
- _out << nl << "Throw New _System.ArgumentException(\"expected argument of type `" << p->name()
- << "'\", \"other__\")";
+ _out << nl << "Return False";
_out.dec();
_out << nl << "End If";
for(q = dataMembers.begin(); q != dataMembers.end(); ++q)