summaryrefslogtreecommitdiff
path: root/TAO/performance-tests
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-28 20:11:50 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-28 20:11:50 +0000
commit66d2451bab0eacca0ef6790a7272d8a04334b047 (patch)
tree3155eb4512d68966ea25b380d7d951d6499310d9 /TAO/performance-tests
parent8fac9251c00231166fa3c88f4e87fdd85a84ddad (diff)
downloadATCD-66d2451bab0eacca0ef6790a7272d8a04334b047.tar.gz
ChangeLogTag:Mon Jun 28 15:11:00 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/performance-tests')
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
index 8a3d9e0fbad..c9db73e3b18 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
@@ -39,16 +39,15 @@ main (int argc, char *argv[])
"\n\tIDL_Cubit: server\n\n"));
ACE_TRY_NEW_ENV
{
- if (cubit_server.init (argc, argv, ACE_TRY_ENV) == -1)
+ int ret = cubit_server.init (argc, argv, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ if (ret == -1)
{
- ACE_TRY_ENV.print_exception ("Initialization Exception");
return -1;
- }
- else
- {
- cubit_server.run (ACE_TRY_ENV);
ACE_TRY_CHECK;
}
+ cubit_server.run (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
}
ACE_CATCH (CORBA::SystemException, sysex)
{