summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-06 03:15:27 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-06 03:15:27 +0000
commit71cb927cc9b94665370bab8cee2a2be394c26242 (patch)
tree2c2169750162d8434757e95d8d99a357c7b67cfe /TAO/tests/Param_Test
parent524a44076c517b000833ac2f82ec5e45f47f6069 (diff)
downloadATCD-71cb927cc9b94665370bab8cee2a2be394c26242.tar.gz
ChangeLogTag:Mon Mar 5 19:14:03 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tests/Param_Test')
-rw-r--r--TAO/tests/Param_Test/server.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/tests/Param_Test/server.cpp b/TAO/tests/Param_Test/server.cpp
index 99418c47dd6..9b17bb15211 100644
--- a/TAO/tests/Param_Test/server.cpp
+++ b/TAO/tests/Param_Test/server.cpp
@@ -74,7 +74,10 @@ main (int argc, char *argv[])
// Get the Root POA
- temp = orb_ptr->resolve_initial_references ("RootPOA");
+ temp = orb_ptr->resolve_initial_references ("RootPOA",
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
if (CORBA::is_nil (temp.in()))
ACE_ERROR_RETURN ((LM_ERROR,
"(%P|%t) Unable to get root poa reference.\n"),