blob: c66c5ab3d7a7f0803be04882b5c5b3e376432458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// $Id$
#include "Plan_Launcher_Impl.h"
namespace DAnCE
{
namespace Plan_Launcher
{
int
run_main_implementation (int argc, ACE_TCHAR *argv[])
{
try
{
Plan_Launcher_Impl pl (argc, argv);
pl.execute();
}
catch (const Plan_Launcher_Impl::Deployment_Failure& e)
{
DANCE_ERROR ( (LM_ERROR, "[%M] PlanLauncher error : %C.\n", e.error_.c_str()));
}
catch (const CORBA::Exception& ex)
{
ex._tao_print_exception ("Plan_Launcher.cpp::run_main_implementation ");
return -1;
}
catch (...)
{
DANCE_ERROR ( (LM_ERROR, "[%M] Plan_Launcher.cpp::run_main_implementation Unknown exception.\n"));
return -1;
}
return 0;
}
} // Plan_Launcher
} // DAnCE
|