#include <appbase/application.hpp>
#include <iostream>
#include <boost/exception/diagnostic_information.hpp>
Go to the source code of this file.
◆ main()
int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 66 of file main.cpp.
66 {
67 try {
70 return -1;
73 } catch ( const boost::exception& e ) {
74 std::cerr << boost::diagnostic_information(e) << "\n";
75 } catch ( const std::exception& e ) {
76 std::cerr << e.what() << "\n";
77 } catch ( ... ) {
78 std::cerr << "unknown exception\n";
79 }
80 std::cout << "exited cleanly\n";
81 return 0;
82}