diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-04-07 13:43:58 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-04-07 13:43:58 +0000 |
commit | 3bc9a99c18f06527b7e14cc73b29a285fd4ec13e (patch) | |
tree | 65401c32f72cbd63c46c94129a40464a30a83aca /cpp/src/Ice/IncomingAsync.cpp | |
parent | Fix (diff) | |
download | ice-3bc9a99c18f06527b7e14cc73b29a285fd4ec13e.tar.bz2 ice-3bc9a99c18f06527b7e14cc73b29a285fd4ec13e.tar.xz ice-3bc9a99c18f06527b7e14cc73b29a285fd4ec13e.zip |
Bug 803 - changed communicator initialization.
Diffstat (limited to 'cpp/src/Ice/IncomingAsync.cpp')
-rw-r--r-- | cpp/src/Ice/IncomingAsync.cpp | 27 |
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"); } |