diff options
author | Michi Henning <michi@zeroc.com> | 2007-10-18 18:13:34 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-10-18 18:13:34 +1000 |
commit | 9aa219aee80ba7160634c468093f2a04416df87e (patch) | |
tree | f3ca50bf7987e14afa81b5a0e4f72573e5087dce /cpp/src/slice2java/Gen.cpp | |
parent | Changed the UnexpectedObjectException is thrown to match C#. (diff) | |
download | ice-9aa219aee80ba7160634c468093f2a04416df87e.tar.bz2 ice-9aa219aee80ba7160634c468093f2a04416df87e.tar.xz ice-9aa219aee80ba7160634c468093f2a04416df87e.zip |
Fix to previous fix.
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 11867246ad8..471ecabc6ca 100644 --- a/cpp/src/slice2java/Gen.cpp +++ b/cpp/src/slice2java/Gen.cpp @@ -1034,7 +1034,7 @@ Slice::JavaVisitor::writeDispatchAndMarshalling(Output& out, const ClassDefPtr& out << eb; out << nl << "catch(ClassCastException ex)"; out << sb; - out << nl << "IceInternal.Ex.throwUOE(type(), v.ice_id()); + out << nl << "IceInternal.Ex.throwUOE(type(), v.ice_id());"; out << eb; out << eb; @@ -2079,7 +2079,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) out << eb; out << nl << "catch(ClassCastException ex)"; out << sb; - out << nl << "IceInternal.Ex.throwUOE(type(), v.ice_id()); + out << nl << "IceInternal.Ex.throwUOE(type(), v.ice_id());"; out << eb; out << eb; @@ -2485,7 +2485,7 @@ Slice::Gen::TypesVisitor::visitStructEnd(const StructPtr& p) out << eb; out << nl << "catch(ClassCastException ex)"; out << sb; - out << nl << "IceInternal.Ex.throwUOE(type(), v.ice_id()); + out << nl << "IceInternal.Ex.throwUOE(type(), v.ice_id());"; out << eb; out << eb; @@ -3223,7 +3223,7 @@ Slice::Gen::HolderVisitor::writeHolder(const TypePtr& p) out << eb; out << nl << "catch(ClassCastException ex)"; out << sb; - out << nl << "IceInternal.Ex.throwUOE(type(), v.ice_id()); + out << nl << "IceInternal.Ex.throwUOE(type(), v.ice_id());"; out << eb; out << eb; |