summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-11-27 21:48:35 +0000
committerMarc Laukien <marc@zeroc.com>2002-11-27 21:48:35 +0000
commitc2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d (patch)
tree4825cb0dae9651fe2f0376ba63947de800aca5a7 /cpp/src/slice2java/Gen.cpp
parent- Added host attribute to DNSException (diff)
downloadice-c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d.tar.bz2
ice-c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d.tar.xz
ice-c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d.zip
added ami
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r--cpp/src/slice2java/Gen.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index 121044f9283..5c374dc57e8 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -149,8 +149,7 @@ Slice::JavaVisitor::writeDelegateThrowsClause(const string& scope, const Excepti
out << nl;
out << "throws ";
out.useCurrentPosAsIndent();
- out << "Ice.LocationForward,";
- out << nl << "IceInternal.NonRepeatable";
+ out << "IceInternal.NonRepeatable";
//
// Don't include local exceptions in the throws clause
@@ -1729,7 +1728,7 @@ Slice::Gen::TypesVisitor::visitEnum(const EnumPtr& p)
}
void
-Slice::Gen::TypesVisitor::visitConstDef(const ConstDefPtr& p)
+Slice::Gen::TypesVisitor::visitConst(const ConstPtr& p)
{
string name = fixKwd(p->name());
string scoped = p->scoped();
@@ -2052,10 +2051,6 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p)
out << nl << "return;";
}
out << eb;
- out << nl << "catch(Ice.LocationForward __ex)";
- out << sb;
- out << nl << "__locationForward(__ex);";
- out << eb;
out << nl << "catch(IceInternal.NonRepeatable __ex)";
out << sb;
if(op->mode() == Operation::Idempotent || op->mode() == Operation::Nonmutating)