summaryrefslogtreecommitdiff
path: root/TAO/tests/Stack_Recursion/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Stack_Recursion/client.cpp')
-rw-r--r--TAO/tests/Stack_Recursion/client.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/TAO/tests/Stack_Recursion/client.cpp b/TAO/tests/Stack_Recursion/client.cpp
index b9db252871c..235fe7ce2d6 100644
--- a/TAO/tests/Stack_Recursion/client.cpp
+++ b/TAO/tests/Stack_Recursion/client.cpp
@@ -41,18 +41,15 @@ main (int argc, char *argv[])
{
CORBA::ORB_var orb =
CORBA::ORB_init (argc, argv, "" ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
if (parse_args (argc, argv) != 0)
return 1;
CORBA::Object_var tmp =
orb->string_to_object(ior ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
Test::Sender_var sender =
Test::Sender::_narrow(tmp.in () ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
if (CORBA::is_nil (sender.in ()))
{
@@ -75,20 +72,17 @@ main (int argc, char *argv[])
ACE_Thread_Manager::instance ()->wait ();
CORBA::Long count =
- sender->get_event_count (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ sender->get_event_count ();
ACE_DEBUG ((LM_DEBUG, "(%P) - Receiver got %d messages\n",
count));
// shutdown the remote ORB
- sender->shutdown (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ sender->shutdown ();
- orb->destroy (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ orb->destroy ();
}
ACE_CATCHANY
{