summaryrefslogtreecommitdiff
path: root/TAO/examples/Quoter/client.cpp
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-06 22:05:52 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-06 22:05:52 +0000
commit2272c23e99085970207fad3ac22458ad741f57d8 (patch)
treea29e02d0814be39a6abc43c3b9e893c39caca555 /TAO/examples/Quoter/client.cpp
parent1711d9621a49e4dbaf39fccc2c732c577d3d5ff6 (diff)
downloadATCD-2272c23e99085970207fad3ac22458ad741f57d8.tar.gz
ChangeLogTag:Tue Mar 6 13:44:38 2001 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'TAO/examples/Quoter/client.cpp')
-rw-r--r--TAO/examples/Quoter/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/examples/Quoter/client.cpp b/TAO/examples/Quoter/client.cpp
index d5656a51bb1..8f369d7c6b3 100644
--- a/TAO/examples/Quoter/client.cpp
+++ b/TAO/examples/Quoter/client.cpp
@@ -163,7 +163,8 @@ Quoter_Client::init_naming_service (void)
{
// Resolve the Naming Service
CORBA::Object_var naming_obj =
- orb_->resolve_initial_references ("NameService");
+ orb_->resolve_initial_references ("NameService", ACE_TRY_ENV);
+ ACE_TRY_CHECK;
if (CORBA::is_nil (naming_obj.in ()))
ACE_ERROR_RETURN ((LM_ERROR,