2 #include "ace/Log_Msg.h"
3 #include "tao/Exception.h"
6 ACE_TMAIN(int argc
, ACE_TCHAR
*argv
[])
8 ACE_LOG_MSG
->priority_mask(LM_TRACE
|
17 ACE_Log_Msg::PROCESS
);
23 int ret
= app
.run(argc
,argv
);
24 return ret
== 1 ? 0 : ret
;
26 catch (const CORBA::Exception
& ex
)
28 ex
._tao_print_exception ("Caught exception:");
33 "(%P|%t) Unknown (...) exception caught in main() "