summaryrefslogtreecommitdiff
path: root/cpp/src/slice2vb/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2vb/Gen.cpp')
-rwxr-xr-xcpp/src/slice2vb/Gen.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/cpp/src/slice2vb/Gen.cpp b/cpp/src/slice2vb/Gen.cpp
index bc5e5f1dba1..e0c1b5bf525 100755
--- a/cpp/src/slice2vb/Gen.cpp
+++ b/cpp/src/slice2vb/Gen.cpp
@@ -4829,15 +4829,6 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out.inc();
_out << nl << "prepare__(prx__, \"" << p->name() << "\", " << sliceModeToIceMode(p) << ", ctx__)";
if(p->returnsData())
- {
- _out << nl << "If Not prx__.ice_isTwoway() Then";
- _out.inc();
- _out << nl << "Dim ex As Ice.TwowayOnlyException = New Ice.TwowayOnlyException()";
- _out << nl << "ex.operation = \"" << p->name() << "\"";
- _out << nl << "Throw ex";
- _out.dec();
- _out << nl << "End If";
- }
for(q = inParams.begin(); q != inParams.end(); ++q)
{
string typeS = typeToString(q->first);