summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cs/Gen.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-11-01 17:28:56 +0000
committerMarc Laukien <marc@zeroc.com>2004-11-01 17:28:56 +0000
commit13bed028fb55ba1caeb4af15d1a18b1778a9e378 (patch)
treef2c9b11446bec453488d20249842962d396bb201 /cpp/src/slice2cs/Gen.cpp
parentmore glacier2 work (diff)
downloadice-13bed028fb55ba1caeb4af15d1a18b1778a9e378.tar.bz2
ice-13bed028fb55ba1caeb4af15d1a18b1778a9e378.tar.xz
ice-13bed028fb55ba1caeb4af15d1a18b1778a9e378.zip
AMD and dispatch exception handling fixes
Diffstat (limited to 'cpp/src/slice2cs/Gen.cpp')
-rwxr-xr-xcpp/src/slice2cs/Gen.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index 57bce9d9dfb..d0a078de015 100755
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -3861,8 +3861,6 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out << sp << nl << "public void ice_response" << spar << paramsAMD << epar;
_out << sb;
- _out << nl << "if(!_finished)";
- _out << sb;
if(ret || !outParams.empty())
{
_out << nl << "try";
@@ -3890,12 +3888,9 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
}
_out << nl << "__response(true);";
_out << eb;
- _out << eb;
_out << sp << nl << "public void ice_exception(_System.Exception ex)";
_out << sb;
- _out << nl << "if(!_finished)";
- _out << sb;
if(throws.empty())
{
_out << nl << "__exception(ex);";
@@ -3922,7 +3917,6 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out << eb;
}
_out << eb;
- _out << eb;
_out << eb;
}