summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-05 19:25:38 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-05 19:25:38 +0000
commit5fad0769b471c5d02d480f30e5a49cc6ef3925bb (patch)
treec2a700d87510546dad2b9986d7cdbeaba78cb65c /TAO/orbsvcs/tests/Event/Basic/Observer.cpp
parent048d56e9e0b69d7ab2c74151d9370715974b9baf (diff)
downloadATCD-5fad0769b471c5d02d480f30e5a49cc6ef3925bb.tar.gz
ChangeLogTag:Mon Mar 5 11:24:05 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/orbsvcs/tests/Event/Basic/Observer.cpp')
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Observer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/Event/Basic/Observer.cpp b/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
index d897cad75e8..03a4f7e3f3b 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
@@ -167,7 +167,9 @@ EC_Master::initialize_orb_and_poa (int &argc, char* argv[],
ACE_CHECK;
CORBA::Object_var poa_object =
- this->orb_->resolve_initial_references("RootPOA");
+ this->orb_->resolve_initial_references("RootPOA", ACE_TRY_ENV);
+ ACE_CHECK;
+
if (CORBA::is_nil (poa_object.in ()))
{
ACE_ERROR ((LM_ERROR,