diff options
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r-- | cpp/src/slice2java/Gen.cpp | 6 |
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; |