diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-05-17 01:42:13 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-05-17 01:42:13 +0000 |
commit | ae3bc7db37d1a0dcd850960d7ee2d926217db37f (patch) | |
tree | 40ff722fdea2ece7f98bbdf8276a5eff7f113f78 /cpp/src/slice2cpp/Gen.cpp | |
parent | Split DispatchStatus into dispatch status and reply status (bug #2150) (diff) | |
download | ice-ae3bc7db37d1a0dcd850960d7ee2d926217db37f.tar.bz2 ice-ae3bc7db37d1a0dcd850960d7ee2d926217db37f.tar.xz ice-ae3bc7db37d1a0dcd850960d7ee2d926217db37f.zip |
Small fixes
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 67af4cfc80d..7a39e08d904 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -2554,17 +2554,14 @@ Slice::Gen::DelegateDVisitor::visitOperation(const OperationPtr& p) // // run // - C << nl << nl << "virtual " << _dllExport << "::Ice::DispatchStatus"; + // C << nl << nl << "virtual " << _dllExport << "::Ice::DispatchStatus"; + C << nl << nl << "virtual ::Ice::DispatchStatus"; C << nl << "run(::Ice::Object* object)"; C << sb; C << nl << thisPointer << " servant = dynamic_cast< " << thisPointer << ">(object);"; C << nl << "if(!servant)"; C << sb; - C << nl << "::Ice::OperationNotExistException opEx(__FILE__, __LINE__);"; - C << nl << "opEx.id = _current.id;"; - C << nl << "opEx.facet = _current.facet;"; - C << nl << "opEx.operation = _current.operation;"; - C << nl << "throw opEx;"; + C << nl << "throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation);"; C << eb; ExceptionList throws = p->throws(); |