summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Bug_3582/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Bug_3582/server.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/Bug_3582/server.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/TAO/tests/Portable_Interceptors/Bug_3582/server.cpp b/TAO/tests/Portable_Interceptors/Bug_3582/server.cpp
index f38d518bbc1..ec367253e1c 100644
--- a/TAO/tests/Portable_Interceptors/Bug_3582/server.cpp
+++ b/TAO/tests/Portable_Interceptors/Bug_3582/server.cpp
@@ -30,7 +30,7 @@ parse_args (int argc, ACE_TCHAR *argv[])
ACE_ERROR_RETURN ((LM_ERROR,
"Usage: %s "
"-o <IOR> "
- "-n <server number> \n",
+ "-n <server number>\n",
argv[0]),
-1);
}
@@ -91,14 +91,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
poa_manager->activate ();
// Run the ORB event loop.
- try
- {
- orb->run ();
- }
- catch (const CORBA::BAD_INV_ORDER & ex)
- {
- // no op
- };
+ orb->run ();
root_poa->destroy (1, 1);