Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
|
||||||||||||
|
Definition at line 104 of file main.cpp. 00105 {
00106 try {
00107 Application app;
00108
00109 try {
00110 app.init(argc, argv);
00111 app.run();
00112 }
00113 catch (HelpException &e) {
00114 printf("%s\n", e.what());
00115 }
00116 catch (BaseException &e) {
00117 LOG_ERROR(e.info());
00118 }
00119 app.shutdown();
00120 return 0;
00121 }
00122 catch (BaseException &e) {
00123 LOG_ERROR(e.info());
00124 }
00125 catch (std::exception &e) {
00126 LOG_ERROR(ExInfo("std::exception")
00127 .addInfo("what", e.what()));
00128 }
00129 catch (...) {
00130 LOG_ERROR(ExInfo("unknown exception"));
00131 }
00132
00133 return 1;
00134 }
|
1.4.2