diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-09-13 15:33:46 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-09-13 15:33:46 +0200 |
commit | 0ed3e3fff565b80f84ec7e23d821fd30fac89b86 (patch) | |
tree | c9f4157f23727413b34d33f12f67e891879d3a77 /cpp/src/Ice/Outgoing.cpp | |
parent | Merge remote-tracking branch 'origin/mx' into mx (diff) | |
download | ice-0ed3e3fff565b80f84ec7e23d821fd30fac89b86.tar.bz2 ice-0ed3e3fff565b80f84ec7e23d821fd30fac89b86.tar.xz ice-0ed3e3fff565b80f84ec7e23d821fd30fac89b86.zip |
Added Ice/metrics test
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r-- | cpp/src/Ice/Outgoing.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp index 31c706c65a8..53e50da60d1 100644 --- a/cpp/src/Ice/Outgoing.cpp +++ b/cpp/src/Ice/Outgoing.cpp @@ -539,8 +539,12 @@ IceInternal::Outgoing::throwUserException() _is.startReadEncaps(); _is.throwException(); } - catch(const Ice::UserException&) + catch(const Ice::UserException& ex) { + if(_observer) + { + _observer.failed(ex.ice_name()); + } _is.endReadEncaps(); throw; } |