28#include "StandAloneApp.h"
30int main(
int argc,
char **argv)
34 return app.
main(argc, argv);
37 std::cerr <<
"Caught BES Error while starting the command processor: " << e.
get_message() << std::endl;
40 catch (
const std::exception &e) {
41 std::cerr <<
"Caught C++ error while starting the command processor: " << e.what() << std::endl;
45 std::cerr <<
"Caught unknown error while starting the command processor." << std::endl;
virtual int main(int argC, char **argV)
main routine, the main entry point for any BES applications.
Base exception class for the BES with basic string message.
std::string get_message() const
get the error message for this exception