summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple')
-rw-r--r--TAO/examples/Simple/Simple_util.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/examples/Simple/Simple_util.cpp b/TAO/examples/Simple/Simple_util.cpp
index 6a620628e89..dad0b35f293 100644
--- a/TAO/examples/Simple/Simple_util.cpp
+++ b/TAO/examples/Simple/Simple_util.cpp
@@ -1,4 +1,4 @@
-//$Id$
+// $Id$
#ifndef SIMPLE_UTIL_C
#define SIMPLE_UTIL_C
@@ -95,22 +95,22 @@ Server<Servant>::test_for_ins (CORBA::String_var ior)
ACE_TRY_CHECK;
IORTable::Table_var adapter =
- IORTable::Table::_narrow (table_object.in ());
-
- adapter->bind (this->ins_, ior.in ());
- }
- ACE_CATCHANY
- {
+ IORTable::Table::_narrow (table_object.in (),
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
if (CORBA::is_nil (adapter.in ()))
{
ACE_ERROR ((LM_ERROR, "Nil IORTable\n"));
}
+ adapter->bind (this->ins_, ior.in (), ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
}
ACE_ENDTRY;
-
-
return 0;
}