diff options
author | Marc Laukien <marc@zeroc.com> | 2001-10-11 18:09:45 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-10-11 18:09:45 +0000 |
commit | d97f276ddf939534613d7c0c6067205e7effc133 (patch) | |
tree | aaef4b3e8007dbd53b050329ec91d8c73558aaa8 /cpp/src/slice2cpp/Gen.cpp | |
parent | more exception stuff (diff) | |
download | ice-d97f276ddf939534613d7c0c6067205e7effc133.tar.bz2 ice-d97f276ddf939534613d7c0c6067205e7effc133.tar.xz ice-d97f276ddf939534613d7c0c6067205e7effc133.zip |
more exception cleanup
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index fce011562b9..4404da545c9 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -107,7 +107,7 @@ Slice::Gen::generate(const UnitPtr& unit) H << "\n#include <Ice/Outgoing.h>"; H << "\n#include <Ice/Incoming.h>"; H << "\n#include <Ice/Direct.h>"; - H << "\n#include <Ice/LocalException.h>"; + H << "\n#include <Ice/Exception.h>"; } else { @@ -1042,12 +1042,12 @@ Slice::Gen::DelegateMVisitor::visitOperation(const OperationPtr& p) C << eb; } C << eb; - C << nl << "throw ::Ice::UnknownUserException(__FILE__, __LINE__);"; + C << nl << "throw ::Ice::UserException(__FILE__, __LINE__);"; } else */ { - C << nl << "throw ::Ice::UnknownUserException(__FILE__, __LINE__);"; + C << nl << "throw ::Ice::UserException(__FILE__, __LINE__);"; } C << eb; writeAllocateCode(C, TypeStringList(), ret); |