diff options
Diffstat (limited to 'TAO/tests/Simple/bank/server.cpp')
-rw-r--r-- | TAO/tests/Simple/bank/server.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/TAO/tests/Simple/bank/server.cpp b/TAO/tests/Simple/bank/server.cpp deleted file mode 100644 index e18704205a3..00000000000 --- a/TAO/tests/Simple/bank/server.cpp +++ /dev/null @@ -1,42 +0,0 @@ -// $Id$ - -#include "Server_i.h" - -ACE_RCSID(Time, server, "$Id$") - -// This is the main driver program for the Bank server. - -int -main (int argc, char *argv[]) -{ - Server_i server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tBank server\n\n")); - - TAO_TRY - { - if (server.init (argc, argv, TAO_TRY_ENV) == -1) - return 1; - else - { - server.run (TAO_TRY_ENV); - TAO_CHECK_ENV; - } - } - TAO_CATCH (CORBA::SystemException, sysex) - { - ACE_UNUSED_ARG (sysex); - TAO_TRY_ENV.print_exception ("System Exception"); - return -1; - } - TAO_CATCH (CORBA::UserException, userex) - { - ACE_UNUSED_ARG (userex); - TAO_TRY_ENV.print_exception ("User Exception"); - return -1; - } - TAO_ENDTRY; - - return 0; -} |