diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-07-21 15:05:38 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-07-21 15:05:38 +0000 |
commit | a50a5014f86e370f0406be3254aa1f4c670be928 (patch) | |
tree | 41d821ac082bf8d07aa12b3f4a7d6a4f0a69c6d2 /cppe/src | |
parent | Adding MIDP capability to tests. (diff) | |
download | ice-a50a5014f86e370f0406be3254aa1f4c670be928.tar.bz2 ice-a50a5014f86e370f0406be3254aa1f4c670be928.tar.xz ice-a50a5014f86e370f0406be3254aa1f4c670be928.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=421.
Diffstat (limited to 'cppe/src')
-rw-r--r-- | cppe/src/IceE/Proxy.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/cppe/src/IceE/Proxy.cpp b/cppe/src/IceE/Proxy.cpp index 974c9ac31a9..beb42bf9226 100644 --- a/cppe/src/IceE/Proxy.cpp +++ b/cppe/src/IceE/Proxy.cpp @@ -715,9 +715,10 @@ IceDelegate::Ice::Object::ice_isA(const string& __id, const Context& __context) BasicStream* __os = __outS.os(); __os->write(__id); bool __ret; + bool __ok = __outS.invoke(); try { - if(!__outS.invoke()) + if(!__ok) { __is->throwException(); } @@ -736,9 +737,10 @@ IceDelegate::Ice::Object::ice_ping(const Context& __context) static const string __operation("ice_ping"); Outgoing __outS(__connection.get(), __reference.get(), __operation, ::Ice::Nonmutating, __context); BasicStream* __is = __outS.is(); + bool __ok = __outS.invoke(); try { - if(!__outS.invoke()) + if(!__ok) { __is->throwException(); } @@ -756,9 +758,10 @@ IceDelegate::Ice::Object::ice_ids(const Context& __context) Outgoing __outS(__connection.get(), __reference.get(), __operation, ::Ice::Nonmutating, __context); BasicStream* __is = __outS.is(); vector<string> __ret; + bool __ok = __outS.invoke(); try { - if(!__outS.invoke()) + if(!__ok) { __is->throwException(); } @@ -778,9 +781,10 @@ IceDelegate::Ice::Object::ice_id(const Context& __context) Outgoing __outS(__connection.get(), __reference.get(), __operation, ::Ice::Nonmutating, __context); BasicStream* __is = __outS.is(); string __ret; + bool __ok = __outS.invoke(); try { - if(!__outS.invoke()) + if(!__ok) { __is->throwException(); } |