blob: 99fd3548997ecfa7a3f1eec07a7fa1cfed98f6a8 (
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
41
|
// $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 (1, (LM_ERROR, "PlanLauncher error: %C.\n", e.error_.c_str()));
return -1;
}
catch (const CORBA::Exception& ex)
{
ex._tao_print_exception ("Plan_Launcher.cpp::run_main_implementation ");
return -1;
}
catch (...)
{
DANCE_ERROR (1, (LM_ERROR, "Plan_Launcher.cpp::run_main_implementation Unknown exception.\n"));
return -1;
}
return 0;
}
} // Plan_Launcher
} // DAnCE
|