Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / ImplRepo / MT_stress / server.cpp
blob47045047b0fb8f70377c8096f0dec6ec569e8246
1 #include "server_i.h"
3 int
4 ACE_TMAIN(int argc, ACE_TCHAR *argv[])
6 try
8 Server_i server;
10 int retval = server.init (argc, argv);
11 if (retval == -1)
12 return -1;
13 if (retval == 1)
14 return 0;
16 server.run ();
18 catch (const CORBA::SystemException& sysex)
20 sysex._tao_print_exception ("Server: System Exception");
21 return -1;
23 catch (const CORBA::UserException& userex)
25 userex._tao_print_exception ("Server: User Exception");
26 return -1;
29 return 0;