summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Proxy.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-09-20 13:12:50 +0000
committerMarc Laukien <marc@zeroc.com>2002-09-20 13:12:50 +0000
commitd99db9620ba052e79cd5bd40c75306f600f9c48c (patch)
tree8b5bf4d7b52f1e60469cb48e6b466e7f4b08c41f /cpp/src/Ice/Proxy.cpp
parentminor (diff)
downloadice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.bz2
ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.xz
ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.zip
Runtime->Local
Diffstat (limited to 'cpp/src/Ice/Proxy.cpp')
-rw-r--r--cpp/src/Ice/Proxy.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp
index 9f991a069b2..56ed69ad2aa 100644
--- a/cpp/src/Ice/Proxy.cpp
+++ b/cpp/src/Ice/Proxy.cpp
@@ -27,7 +27,7 @@
#include <Ice/RouterInfo.h>
#include <Ice/LocatorInfo.h>
#include <Ice/BasicStream.h>
-#include <Ice/RuntimeException.h>
+#include <Ice/LocalException.h>
#include <Ice/Functional.h>
#include <Ice/Locator.h>
@@ -135,7 +135,7 @@ IceProxy::Ice::Object::ice_isA(const string& __id, const Context& __context)
{
__handleException(*__ex.get(), __cnt);
}
- catch(const RuntimeException& __ex)
+ catch(const LocalException& __ex)
{
__handleException(__ex, __cnt);
}
@@ -162,7 +162,7 @@ IceProxy::Ice::Object::ice_ping(const Context& __context)
{
__handleException(*__ex.get(), __cnt);
}
- catch(const RuntimeException& __ex)
+ catch(const LocalException& __ex)
{
__handleException(__ex, __cnt);
}
@@ -188,7 +188,7 @@ IceProxy::Ice::Object::ice_ids(const Context& __context)
{
__handleException(*__ex.get(), __cnt);
}
- catch(const RuntimeException& __ex)
+ catch(const LocalException& __ex)
{
__handleException(__ex, __cnt);
}
@@ -214,7 +214,7 @@ IceProxy::Ice::Object::ice_id(const Context& __context)
{
__handleException(*__ex.get(), __cnt);
}
- catch(const RuntimeException& __ex)
+ catch(const LocalException& __ex)
{
__handleException(__ex, __cnt);
}
@@ -240,7 +240,7 @@ IceProxy::Ice::Object::ice_facets(const Context& __context)
{
__handleException(*__ex.get(), __cnt);
}
- catch(const RuntimeException& __ex)
+ catch(const LocalException& __ex)
{
__handleException(__ex, __cnt);
}
@@ -278,7 +278,7 @@ IceProxy::Ice::Object::ice_invoke(const string& operation,
__rethrowException(*__ex.get());
}
}
- catch(const RuntimeException& __ex)
+ catch(const LocalException& __ex)
{
__handleException(__ex, __cnt);
}
@@ -563,7 +563,7 @@ IceProxy::Ice::Object::__copyFrom(const ObjectPrx& from)
}
void
-IceProxy::Ice::Object::__handleException(const RuntimeException& ex, int& cnt)
+IceProxy::Ice::Object::__handleException(const LocalException& ex, int& cnt)
{
//
// Only _delegate needs to be mutex protected here.
@@ -662,7 +662,7 @@ IceProxy::Ice::Object::__locationForward(const LocationForward& ex)
}
void
-IceProxy::Ice::Object::__rethrowException(const RuntimeException& ex)
+IceProxy::Ice::Object::__rethrowException(const LocalException& ex)
{
IceUtil::Mutex::Lock sync(*this);
@@ -943,7 +943,7 @@ IceDelegateM::Ice::Object::setup(const ReferencePtr& ref)
assert(__connection);
__connection->incProxyUsageCount();
}
- catch(const RuntimeException& ex)
+ catch(const LocalException& ex)
{
if(!__reference->routerInfo && __reference->endpoints.empty())
{
@@ -1056,9 +1056,9 @@ IceDelegateD::Ice::Object::ice_isA(const string& __id, const Context& __context)
{
return __direct.facetServant()->ice_isA(__id, __current);
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
- throw UnknownRuntimeException(__FILE__, __LINE__);
+ throw UnknownLocalException(__FILE__, __LINE__);
}
catch(const UserException&)
{
@@ -1085,9 +1085,9 @@ IceDelegateD::Ice::Object::ice_ping(const ::Ice::Context& __context)
__direct.facetServant()->ice_ping(__current);
return;
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
- throw UnknownRuntimeException(__FILE__, __LINE__);
+ throw UnknownLocalException(__FILE__, __LINE__);
}
catch(const UserException&)
{
@@ -1112,9 +1112,9 @@ IceDelegateD::Ice::Object::ice_ids(const ::Ice::Context& __context)
{
return __direct.facetServant()->ice_ids(__current);
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
- throw UnknownRuntimeException(__FILE__, __LINE__);
+ throw UnknownLocalException(__FILE__, __LINE__);
}
catch(const UserException&)
{
@@ -1140,9 +1140,9 @@ IceDelegateD::Ice::Object::ice_id(const ::Ice::Context& __context)
{
return __direct.facetServant()->ice_id(__current);
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
- throw UnknownRuntimeException(__FILE__, __LINE__);
+ throw UnknownLocalException(__FILE__, __LINE__);
}
catch(const UserException&)
{
@@ -1168,9 +1168,9 @@ IceDelegateD::Ice::Object::ice_facets(const ::Ice::Context& __context)
{
return __direct.facetServant()->ice_facets(__current);
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
- throw UnknownRuntimeException(__FILE__, __LINE__);
+ throw UnknownLocalException(__FILE__, __LINE__);
}
catch(const UserException&)
{
@@ -1207,9 +1207,9 @@ IceDelegateD::Ice::Object::ice_invoke(const string& operation,
{
return __servant->ice_invoke(inParams, outParams, current);
}
- catch(const RuntimeException&)
+ catch(const LocalException&)
{
- throw UnknownRuntimeException(__FILE__, __LINE__);
+ throw UnknownLocalException(__FILE__, __LINE__);
}
catch(const UserException&)
{