diff options
author | Michi Henning <michi@zeroc.com> | 2002-09-20 05:55:29 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-09-20 05:55:29 +0000 |
commit | b56ebf2776fbd2b6dcb9b793c03511e49b265053 (patch) | |
tree | d58e5e9b5e95d6b640c36447bc594684c1b255f1 /cpp/src/slice2cpp/Gen.cpp | |
parent | Removed idempotent qualifier from destroy operations. (diff) | |
download | ice-b56ebf2776fbd2b6dcb9b793c03511e49b265053.tar.bz2 ice-b56ebf2776fbd2b6dcb9b793c03511e49b265053.tar.xz ice-b56ebf2776fbd2b6dcb9b793c03511e49b265053.zip |
Renamed Ice::LocalException to Ice::RuntimeException.
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 2141aaa1ee2..8e5c4e77e88 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -181,7 +181,7 @@ Slice::Gen::generate(const UnitPtr& unit) H << "\n#include <Ice/Incoming.h>"; H << "\n#include <Ice/Direct.h>"; - C << "\n#include <Ice/LocalException.h>"; + C << "\n#include <Ice/RuntimeException.h>"; C << "\n#include <Ice/ObjectFactory.h>"; C << "\n#include <Ice/BasicStream.h>"; C << "\n#include <Ice/Stream.h>"; @@ -316,7 +316,7 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p) { if(p->isLocal()) { - H << "public ::Ice::LocalException"; + H << "public ::Ice::RuntimeException"; } else { @@ -342,7 +342,7 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p) C.inc(); if(!base) { - C << nl << "::Ice::LocalException(file, line)"; + C << nl << "::Ice::RuntimeException(file, line)"; } else { @@ -1285,7 +1285,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::RuntimeException& __ex)"; C << sb; C << nl << "__handleException(__ex, __cnt);"; C << eb; @@ -1774,7 +1774,7 @@ Slice::Gen::DelegateDVisitor::visitOperation(const OperationPtr& p) C << sb; C << nl << "throw ::Ice::UnknownUserException(__FILE__, __LINE__);"; C << eb; - C << nl << "catch(const ::Ice::LocalException&)"; + C << nl << "catch(const ::Ice::RuntimeException&)"; C << sb; C << nl << "throw;"; C << eb; |