| 14 | #include "dds/DCPS/debug.h" |
| 15 | |
| 16 | int ACE_TMAIN(int argc, ACE_TCHAR* argv[]) |
| 17 | { |
| 18 | OpenDDS::DCPS::set_DCPS_debug_level( 0); |
| 19 | int status = 0; |
| 20 | try { |
| 21 | TestSystem system( argc, argv, 0); |
| 22 | system.run(); |
| 23 | |
| 24 | } catch (const CORBA::Exception& ex) { |
| 25 | ex._tao_print_exception ("(%P|%t) %T ABORT: CORBA problem detected.\n"); |
| 26 | status = -1; |
| 27 | |
| 28 | } catch (const std::exception& ex) { |
| 29 | ACE_ERROR ((LM_ERROR, |
| 30 | ACE_TEXT("(%P|%t) %T ABORT: %C exception caught in main().\n"), ex.what())); |
| 31 | status = -2; |
| 32 | |
| 33 | } catch(...) { |
| 34 | ACE_ERROR ((LM_ERROR, |
| 35 | ACE_TEXT("(%P|%t) %T ABORT: Unspecified exception caught in main() - panic.\n"))); |
| 36 | status = -3; |
| 37 | |
| 38 | } |
| 39 | |
| 40 | return status; |
| 41 | } |
nothing calls this directly
no test coverage detected