diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-24 15:39:09 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-24 15:39:09 +0000 |
commit | c801f87e59c00f72bdeb5ce7bd0d276674665bac (patch) | |
tree | 70bff03d1cf156ecf05ee4c5c338d8ce423e64ee /TAO/orbsvcs/tests/ior_corbaname/ior_corbaname_client_i.cpp | |
parent | 98c0b37d4714ff774fc3ada8c9ee893c719af714 (diff) | |
download | ATCD-c801f87e59c00f72bdeb5ce7bd0d276674665bac.tar.gz |
Wed Jan 24 14:00:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/tests/ior_corbaname/ior_corbaname_client_i.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/ior_corbaname/ior_corbaname_client_i.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/TAO/orbsvcs/tests/ior_corbaname/ior_corbaname_client_i.cpp b/TAO/orbsvcs/tests/ior_corbaname/ior_corbaname_client_i.cpp index d183b4ff8a9..bc6109a41b7 100644 --- a/TAO/orbsvcs/tests/ior_corbaname/ior_corbaname_client_i.cpp +++ b/TAO/orbsvcs/tests/ior_corbaname/ior_corbaname_client_i.cpp @@ -35,7 +35,7 @@ IOR_corbaname_Client_i::~IOR_corbaname_Client_i (void) } int -IOR_corbaname_Client_i::run (ACE_ENV_SINGLE_ARG_DECL) +IOR_corbaname_Client_i::run (void) { ACE_TRY @@ -65,12 +65,10 @@ IOR_corbaname_Client_i::run (ACE_ENV_SINGLE_ARG_DECL) CORBA::Object_var factory_object = this->orb_->string_to_object (corbaname_url.c_str () ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; // Narrow corbaname::Status_var factory = corbaname::Status::_narrow (factory_object.in () ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; if (CORBA::is_nil (factory.in ())) { @@ -82,8 +80,7 @@ IOR_corbaname_Client_i::run (ACE_ENV_SINGLE_ARG_DECL) // Invoke a request on the server CORBA::Boolean ret_value = - factory->print_status (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; + factory->print_status (); if (ret_value == 0) { @@ -107,7 +104,6 @@ IOR_corbaname_Client_i::run (ACE_ENV_SINGLE_ARG_DECL) return -1; } ACE_ENDTRY; - ACE_CHECK_RETURN (-1); return 0; } @@ -128,7 +124,6 @@ IOR_corbaname_Client_i::init (int argc, char **argv) this->argv_, "" /* the ORB name, it can be anything! */ ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; // There must be at least one argument, the file that has to be // retrieved |