diff options
author | Marc Laukien <marc@zeroc.com> | 2001-10-14 17:58:55 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-10-14 17:58:55 +0000 |
commit | 5c872d29b6223e23daea5b510a2bcb4d43fa08eb (patch) | |
tree | e4e7f5a7f43a76c7cee0a52626b2a1c294763bb9 /cpp/src/slice2cpp | |
parent | fixes (diff) | |
download | ice-5c872d29b6223e23daea5b510a2bcb4d43fa08eb.tar.bz2 ice-5c872d29b6223e23daea5b510a2bcb4d43fa08eb.tar.xz ice-5c872d29b6223e23daea5b510a2bcb4d43fa08eb.zip |
user exceptin factories
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 731cc67f67e..e61c0f838d9 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -1121,6 +1121,8 @@ Slice::Gen::DelegateMVisitor::visitOperation(const OperationPtr& p) paramsDecl += ')'; ExceptionList throws = p->throws(); + throws.sort(); + throws.unique(); H << sp << nl << "virtual " << retS << ' ' << name << params << ';'; C << sp << nl << retS << nl << "IceDelegateM" << scoped << paramsDecl; @@ -1824,6 +1826,8 @@ Slice::Gen::ObjectVisitor::visitOperation(const OperationPtr& p) if (!cl->isLocal()) { ExceptionList throws = p->throws(); + throws.sort(); + throws.unique(); H << nl << exp2 << "::IceInternal::DispatchStatus ___" << name << "(::IceInternal::Incoming&);"; C << sp; |