1 #include "../Simple_util.h"
2 #include "AccountManager_i.h"
4 // This is the main driver program for the time and date server.
6 ACE_TMAIN(int argc
, ACE_TCHAR
*argv
[])
8 Server
<AccountManager_i
> server
;
11 ACE_TEXT ("\n\tBank server\n\n")));
15 if (server
.init ("Bank",
24 catch (const CORBA::UserException
& userex
)
26 userex
._tao_print_exception ("User Exception");
29 catch (const CORBA::SystemException
& sysex
)
31 sysex
._tao_print_exception ("System Exception");
34 catch (const ::CORBA::Exception
&e
)
36 e
._tao_print_exception ("CORBA exception");