summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2java/Gen.cpp8
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;