summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Param_Test/driver.cpp')
-rw-r--r--TAO/tests/Param_Test/driver.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/TAO/tests/Param_Test/driver.cpp b/TAO/tests/Param_Test/driver.cpp
index 45a45f49b38..728caf2c685 100644
--- a/TAO/tests/Param_Test/driver.cpp
+++ b/TAO/tests/Param_Test/driver.cpp
@@ -79,7 +79,6 @@ Driver::init (int argc, char **argv)
argv,
"internet"
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
// Parse command line and verify parameters.
if (opt->parse_args (argc, argv) == -1)
@@ -93,7 +92,6 @@ Driver::init (int argc, char **argv)
CORBA::Object_var temp =
this->orb_->string_to_object (opt->param_test_ior () ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
if (CORBA::is_nil (temp.in()))
ACE_ERROR_RETURN ((LM_ERROR,
@@ -106,7 +104,6 @@ Driver::init (int argc, char **argv)
this->objref_ = Param_Test::_narrow (temp.in() ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
}
ACE_CATCHANY
{
@@ -114,7 +111,6 @@ Driver::init (int argc, char **argv)
return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
return 0;
}
@@ -620,8 +616,7 @@ Driver::run (void)
{
if (opt->shutdown ())
{
- this->objref_->shutdown (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ this->objref_->shutdown ();
}
}
ACE_CATCHANY