diff options
author | Bernard Normier <bernard@zeroc.com> | 2012-08-30 10:42:14 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2012-08-30 10:42:14 -0400 |
commit | 8eca59676fd96c984cf631518493763bc0644870 (patch) | |
tree | 891904c57a117b0f98b54c683516cdb9aaaf81c2 /cpp/src/Ice/Incoming.cpp | |
parent | Cleaned up code, fixed encoding in SqlDB, renamed DatabaseCache to Connection... (diff) | |
download | ice-8eca59676fd96c984cf631518493763bc0644870.tar.bz2 ice-8eca59676fd96c984cf631518493763bc0644870.tar.xz ice-8eca59676fd96c984cf631518493763bc0644870.zip |
Fixed a few ice_clone for exceptions (bug #ICE-4845) and printStackTrace (bug #ICE-4818)
Diffstat (limited to 'cpp/src/Ice/Incoming.cpp')
-rw-r--r-- | cpp/src/Ice/Incoming.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cpp/src/Ice/Incoming.cpp b/cpp/src/Ice/Incoming.cpp index 34f583bb1df..d129a7f3472 100644 --- a/cpp/src/Ice/Incoming.cpp +++ b/cpp/src/Ice/Incoming.cpp @@ -338,12 +338,10 @@ IceInternal::IncomingBase::__handleException(const std::exception& exc) _os.write(replyUnknownLocalException); ostringstream str; str << *le; -#ifdef __GNUC__ if(IceUtilInternal::printStackTraces) { str << '\n' << ex->ice_stackTrace(); } -#endif _os.write(str.str(), false); } else if(const UserException* ue = dynamic_cast<const UserException*>(&exc)) @@ -351,12 +349,10 @@ IceInternal::IncomingBase::__handleException(const std::exception& exc) _os.write(replyUnknownUserException); ostringstream str; str << *ue; -#ifdef __GNUC__ if(IceUtilInternal::printStackTraces) { str << '\n' << ex->ice_stackTrace(); } -#endif _os.write(str.str(), false); } else |