summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-12-14 08:03:31 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-12-14 08:03:31 +0000
commit3ab4dddf5ab2203d330fdaa47a86ce7ec025627c (patch)
treee08ae25c8a52f1b09b48a84c1973edfdf4c58bcb
parentb3af9b12c28168901275e6dd5f3cb77f3d2ae85f (diff)
downloadATCD-3ab4dddf5ab2203d330fdaa47a86ce7ec025627c.tar.gz
ChangeLogTag:Wed Dec 13 19:06:43 2000 Ossama Othman <ossama@uci.edu
-rw-r--r--TAO/tests/Portable_Interceptors/Service_Context_Manipulation/interceptors.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/interceptors.cpp b/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/interceptors.cpp
index d48d4ed6798..a31d77399a0 100644
--- a/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/interceptors.cpp
+++ b/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/interceptors.cpp
@@ -129,10 +129,9 @@ Echo_Client_Request_Interceptor::receive_reply (
operation.in (), ior.in ()));
IOP::ServiceId id = reply_ctx_id;
- IOP::ServiceContext * sc = ri->get_reply_service_context (id);
-
- if (sc == 0)
- ACE_THROW (CORBA::NO_MEMORY ());
+ IOP::ServiceContext_var sc =
+ ri->get_reply_service_context (id, ACE_TRY_ENV);
+ ACE_CHECK;
const char *buf = ACE_reinterpret_cast (const char *, sc->context_data.get_buffer ());
ACE_DEBUG ((LM_DEBUG,
@@ -147,7 +146,8 @@ Echo_Client_Request_Interceptor::receive_other (
ACE_THROW_SPEC ((CORBA::SystemException,
PortableInterceptor::ForwardRequest))
{
- // Do Nothing
+ ACE_DEBUG ((LM_DEBUG,
+ "Echo_Client_Request_Interceptor::receive_other\n"));
}
void