diff options
author | Marc Laukien <marc@zeroc.com> | 2002-02-08 17:55:35 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-02-08 17:55:35 +0000 |
commit | 0e9473c636e8c348cb8cd1e755f5433267f85f92 (patch) | |
tree | bc60b87e72da53e14654e7c44ba28ac402f60f61 /cpp/src/Ice/Object.cpp | |
parent | adding jar target (diff) | |
download | ice-0e9473c636e8c348cb8cd1e755f5433267f85f92.tar.bz2 ice-0e9473c636e8c348cb8cd1e755f5433267f85f92.tar.xz ice-0e9473c636e8c348cb8cd1e755f5433267f85f92.zip |
user exception routing bug fix
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r-- | cpp/src/Ice/Object.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp index aeaaebcacde..ee7a479abb0 100644 --- a/cpp/src/Ice/Object.cpp +++ b/cpp/src/Ice/Object.cpp @@ -389,7 +389,14 @@ Ice::Blobject::__dispatch(Incoming& in, const Current& current) vector<Byte> outParams; Int sz = in.is()->getReadEncapsSize(); in.is()->readBlob(inParams, sz); - ice_invoke(inParams, outParams, current); + bool ok = ice_invoke(inParams, outParams, current); in.os()->writeBlob(outParams); - return ::IceInternal::DispatchOK; + if (ok) + { + return ::IceInternal::DispatchOK; + } + else + { + return ::IceInternal::DispatchUserException; + } } |