summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/IncomingAsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/IncomingAsync.cpp')
-rw-r--r--cpp/src/Ice/IncomingAsync.cpp27
1 files changed, 18 insertions, 9 deletions
diff --git a/cpp/src/Ice/IncomingAsync.cpp b/cpp/src/Ice/IncomingAsync.cpp
index 1874e71bd57..8f609e521ee 100644
--- a/cpp/src/Ice/IncomingAsync.cpp
+++ b/cpp/src/Ice/IncomingAsync.cpp
@@ -115,7 +115,8 @@ IceInternal::IncomingAsync::__exception(const Exception& exc)
ex.operation = _current.operation;
}
- if(_os.instance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 1)
+ if(_os.instance()->initializationData().properties->
+ getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 1)
{
__warning(ex);
}
@@ -166,7 +167,8 @@ IceInternal::IncomingAsync::__exception(const Exception& exc)
}
catch(const UnknownLocalException& ex)
{
- if(_os.instance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
+ if(_os.instance()->initializationData().properties->
+ getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
{
__warning(ex);
}
@@ -186,7 +188,8 @@ IceInternal::IncomingAsync::__exception(const Exception& exc)
}
catch(const UnknownUserException& ex)
{
- if(_os.instance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
+ if(_os.instance()->initializationData().properties->
+ getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
{
__warning(ex);
}
@@ -206,7 +209,8 @@ IceInternal::IncomingAsync::__exception(const Exception& exc)
}
catch(const UnknownException& ex)
{
- if(_os.instance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
+ if(_os.instance()->initializationData().properties->
+ getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
{
__warning(ex);
}
@@ -226,7 +230,8 @@ IceInternal::IncomingAsync::__exception(const Exception& exc)
}
catch(const LocalException& ex)
{
- if(_os.instance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
+ if(_os.instance()->initializationData().properties->
+ getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
{
__warning(ex);
}
@@ -248,7 +253,8 @@ IceInternal::IncomingAsync::__exception(const Exception& exc)
}
catch(const UserException& ex)
{
- if(_os.instance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
+ if(_os.instance()->initializationData().properties->
+ getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
{
__warning(ex);
}
@@ -270,7 +276,8 @@ IceInternal::IncomingAsync::__exception(const Exception& exc)
}
catch(const Exception& ex)
{
- if(_os.instance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
+ if(_os.instance()->initializationData().properties->
+ getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
{
__warning(ex);
}
@@ -314,7 +321,8 @@ IceInternal::IncomingAsync::__exception(const std::exception& ex)
{
try
{
- if(_os.instance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
+ if(_os.instance()->initializationData().properties->
+ getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
{
__warning(string("std::exception: ") + ex.what());
}
@@ -357,7 +365,8 @@ IceInternal::IncomingAsync::__exception()
{
try
{
- if(_os.instance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
+ if(_os.instance()->initializationData().properties->
+ getPropertyAsIntWithDefault("Ice.Warn.Dispatch", 1) > 0)
{
__warning("unknown c++ exception");
}