2 #include "ace/Log_Msg.h"
3 #include "ace/CORBA_macros.h"
4 #include "tao/Environment.h"
5 #include "tao/Exception.h"
9 ACE_TMAIN(int argc
, ACE_TCHAR
*argv
[])
11 ACE_LOG_MSG
->priority_mask(LM_TRACE
|
20 ACE_Log_Msg::PROCESS
);
26 int ret
= app
.run(argc
,argv
);
27 return ret
== 1 ? 0 : ret
;
29 catch (const CORBA::Exception
& ex
)
31 ex
._tao_print_exception ("Caught exception:");
36 "(%P|%t) Unknown (...) exception caught in main() "