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