diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-20 13:12:50 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-20 13:12:50 +0000 |
commit | d99db9620ba052e79cd5bd40c75306f600f9c48c (patch) | |
tree | 8b5bf4d7b52f1e60469cb48e6b466e7f4b08c41f /cpp/src/slice2cpp | |
parent | minor (diff) | |
download | ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.bz2 ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.xz ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.zip |
Runtime->Local
Diffstat (limited to 'cpp/src/slice2cpp')
-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 8e5c4e77e88..2141aaa1ee2 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/RuntimeException.h>"; + C << "\n#include <Ice/LocalException.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::RuntimeException"; + H << "public ::Ice::LocalException"; } else { @@ -342,7 +342,7 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p) C.inc(); if(!base) { - C << nl << "::Ice::RuntimeException(file, line)"; + C << nl << "::Ice::LocalException(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::RuntimeException& __ex)"; + C << nl << "catch(const ::Ice::LocalException& __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::RuntimeException&)"; + C << nl << "catch(const ::Ice::LocalException&)"; C << sb; C << nl << "throw;"; C << eb; |