summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-25 18:03:20 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-25 18:03:20 +0000
commit364c465628189a4f3dee6eac54ff48825c48e681 (patch)
treea7d51101d0fdfef43601b48965c2935059e617b6 /cpp/src/slice2cpp
parentcomments (diff)
downloadice-364c465628189a4f3dee6eac54ff48825c48e681.tar.bz2
ice-364c465628189a4f3dee6eac54ff48825c48e681.tar.xz
ice-364c465628189a4f3dee6eac54ff48825c48e681.zip
removed spaces
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index de127ea1e9c..4b3a7cea037 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -1209,11 +1209,11 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
C << nl << "return;";
}
C << eb;
- C << nl << "catch (const ::Ice::LocationForward& __ex)";
+ C << nl << "catch(const ::Ice::LocationForward& __ex)";
C << sb;
C << nl << "__locationForward(__ex);";
C << eb;
- C << nl << "catch (const ::IceInternal::NonRepeatable& __ex)";
+ C << nl << "catch(const ::IceInternal::NonRepeatable& __ex)";
C << sb;
list<string> metaData = p->getMetaData();
bool nonmutating = find(metaData.begin(), metaData.end(), "nonmutating") != metaData.end();
@@ -1226,7 +1226,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
C << nl << "__rethrowException(*__ex.get());";
}
C << eb;
- C << nl << "catch (const ::Ice::LocalException& __ex)";
+ C << nl << "catch(const ::Ice::LocalException& __ex)";
C << sb;
C << nl << "__handleException(__ex, __cnt);";
C << eb;
@@ -1732,16 +1732,16 @@ Slice::Gen::DelegateDVisitor::visitOperation(const OperationPtr& p)
ExceptionList::const_iterator r;
for(r = throws.begin(); r != throws.end(); ++r)
{
- C << nl << "catch (const " << (*r)->scoped() << "&)";
+ C << nl << "catch(const " << (*r)->scoped() << "&)";
C << sb;
C << nl << "throw;";
C << eb;
}
- C << nl << "catch (const ::Ice::LocalException&)";
+ C << nl << "catch(const ::Ice::LocalException&)";
C << sb;
C << nl << "throw ::Ice::UnknownLocalException(__FILE__, __LINE__);";
C << eb;
- C << nl << "catch (const ::Ice::UserException&)";
+ C << nl << "catch(const ::Ice::UserException&)";
C << sb;
C << nl << "throw ::Ice::UnknownUserException(__FILE__, __LINE__);";
C << eb;
@@ -2294,7 +2294,7 @@ Slice::Gen::ObjectVisitor::visitOperation(const OperationPtr& p)
ExceptionList::const_iterator r;
for(r = throws.begin(); r != throws.end(); ++r)
{
- C << nl << "catch (const " << (*r)->scoped() << "& __ex)";
+ C << nl << "catch(const " << (*r)->scoped() << "& __ex)";
C << sb;
C << nl << "__os->write(__ex);";
C << nl << "return ::IceInternal::DispatchUserException;";
@@ -2456,7 +2456,7 @@ Slice::Gen::IceInternalVisitor::visitClassDefStart(const ClassDefPtr& p)
C << nl << "d->__copyFrom(bb);";
C << eb;
C << eb;
- C << nl << "catch (const ::Ice::FacetNotExistException&)";
+ C << nl << "catch(const ::Ice::FacetNotExistException&)";
C << sb;
C << eb;
C << eb;