diff options
author | Michi Henning <michi@zeroc.com> | 2002-09-20 05:55:29 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-09-20 05:55:29 +0000 |
commit | b56ebf2776fbd2b6dcb9b793c03511e49b265053 (patch) | |
tree | d58e5e9b5e95d6b640c36447bc594684c1b255f1 /cpp/src/slice2java/Gen.cpp | |
parent | Removed idempotent qualifier from destroy operations. (diff) | |
download | ice-b56ebf2776fbd2b6dcb9b793c03511e49b265053.tar.bz2 ice-b56ebf2776fbd2b6dcb9b793c03511e49b265053.tar.xz ice-b56ebf2776fbd2b6dcb9b793c03511e49b265053.zip |
Renamed Ice::LocalException to Ice::RuntimeException.
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r-- | cpp/src/slice2java/Gen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp index e84ca86598a..f09f491f63f 100644 --- a/cpp/src/slice2java/Gen.cpp +++ b/cpp/src/slice2java/Gen.cpp @@ -1233,7 +1233,7 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p) { if(p->isLocal()) { - out << "Ice.LocalException"; + out << "Ice.RuntimeException"; } else { @@ -2053,7 +2053,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p) out << nl << "__rethrowException(__ex.get());"; } out << eb; - out << nl << "catch(Ice.LocalException __ex)"; + out << nl << "catch(Ice.RuntimeException __ex)"; out << sb; out << nl << "__cnt = __handleException(__ex, __cnt);"; out << eb; @@ -3192,11 +3192,11 @@ Slice::Gen::DelegateDVisitor::visitClassDefStart(const ClassDefPtr& p) // // No need to catch Ice.UserException because it's not possible in Java // - out << nl << "catch(Ice.LocalException __ex)"; + out << nl << "catch(Ice.RuntimeException __ex)"; out << sb; out << nl << "throw __ex;"; out << eb; - out << nl << "catch(RuntimeException __ex)"; + out << nl << "catch(java.lang.RuntimeException __ex)"; out << sb; out << nl << "Ice.UnknownException __e = new Ice.UnknownException();"; out << nl << "__e.initCause(__ex);"; |