diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-08-21 16:17:16 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-08-21 16:17:16 -0230 |
commit | 33dc83b94215d845ba75b2cd299aa3b64f06fdfc (patch) | |
tree | 9b65727c9b89b84ee722b37308de819024bd88d1 /cpp/src/Ice/Incoming.cpp | |
parent | removing references to IceInternal.SelectorHandler from proguard configs (diff) | |
download | ice-33dc83b94215d845ba75b2cd299aa3b64f06fdfc.tar.bz2 ice-33dc83b94215d845ba75b2cd299aa3b64f06fdfc.tar.xz ice-33dc83b94215d845ba75b2cd299aa3b64f06fdfc.zip |
Bug 2664 - Added Ice.PrintStackTraces and cleaned up ifdefs
Diffstat (limited to 'cpp/src/Ice/Incoming.cpp')
-rw-r--r-- | cpp/src/Ice/Incoming.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/Ice/Incoming.cpp b/cpp/src/Ice/Incoming.cpp index d907f0da0ac..f26467afe58 100644 --- a/cpp/src/Ice/Incoming.cpp +++ b/cpp/src/Ice/Incoming.cpp @@ -75,12 +75,12 @@ IceInternal::IncomingBase::adopt(IncomingBase& other) void IceInternal::IncomingBase::__warning(const Exception& ex) const { - ostringstream str; - str << ex; -#ifdef __GNUC__ - str << "\n" << ex.ice_stackTrace(); -#endif - __warning(str.str()); + Warning out(_os.instance()->initializationData().logger); + + out << "dispatch exception: " << ex; + out << "\nidentity: " << _os.instance()->identityToString(_current.id); + out << "\nfacet: " << IceUtilInternal::escapeString(_current.facet, ""); + out << "\noperation: " << _current.operation; } void |