summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-09-20 13:12:50 +0000
committerMarc Laukien <marc@zeroc.com>2002-09-20 13:12:50 +0000
commitd99db9620ba052e79cd5bd40c75306f600f9c48c (patch)
tree8b5bf4d7b52f1e60469cb48e6b466e7f4b08c41f /cpp/src/slice2java
parentminor (diff)
downloadice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.bz2
ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.xz
ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.zip
Runtime->Local
Diffstat (limited to 'cpp/src/slice2java')
-rw-r--r--cpp/src/slice2java/Gen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index ca7d15a11c5..461a02390e6 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -1231,7 +1231,7 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p)
{
if(p->isLocal())
{
- out << "Ice.RuntimeException";
+ out << "Ice.LocalException";
}
else
{
@@ -2051,7 +2051,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p)
out << nl << "__rethrowException(__ex.get());";
}
out << eb;
- out << nl << "catch(Ice.RuntimeException __ex)";
+ out << nl << "catch(Ice.LocalException __ex)";
out << sb;
out << nl << "__cnt = __handleException(__ex, __cnt);";
out << eb;
@@ -3190,7 +3190,7 @@ Slice::Gen::DelegateDVisitor::visitClassDefStart(const ClassDefPtr& p)
//
// No need to catch Ice.UserException because it's not possible in Java
//
- out << nl << "catch(Ice.RuntimeException __ex)";
+ out << nl << "catch(Ice.LocalException __ex)";
out << sb;
out << nl << "throw __ex;";
out << eb;