summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/LoadBalancer
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-08-29 13:36:55 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-08-29 13:36:55 +0000
commit330c1aa81b25bdd6706d8c5422ecf9fa06134dd5 (patch)
tree6e6b0ff4e83618af528341372cb06b644c4e63e6 /TAO/orbsvcs/LoadBalancer
parent991dbd8dd8b207a3ae0e8441bf5675019a0d0f63 (diff)
downloadATCD-330c1aa81b25bdd6706d8c5422ecf9fa06134dd5.tar.gz
ChangeLogTag: Mon Aug 29 13:34:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>Mon Aug 29 12:41:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>Mon Aug 29 13:35:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/LoadBalancer')
-rw-r--r--TAO/orbsvcs/LoadBalancer/LoadManager.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/orbsvcs/LoadBalancer/LoadManager.cpp b/TAO/orbsvcs/LoadBalancer/LoadManager.cpp
index 0c5d929232c..fb4ab4209cb 100644
--- a/TAO/orbsvcs/LoadBalancer/LoadManager.cpp
+++ b/TAO/orbsvcs/LoadBalancer/LoadManager.cpp
@@ -225,12 +225,15 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
// Get a reference to the IOR table.
CORBA::Object_var tobj = orb->resolve_initial_references ("IORTable"
ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
IORTable::Table_var table = IORTable::Table::_narrow (tobj.in ()
ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
// bind your stringified IOR in the IOR table
- table->bind ("LoadManager", str.in ()
- ACE_ENV_ARG_PARAMETER);
+ table->bind ("LoadManager", str.in () ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
FILE * lm_ior = ACE_OS::fopen (lm_ior_file, "w");
ACE_OS::fprintf (lm_ior, "%s", str.in ());