Exemplo n.º 1
0
 void operator()(const runtime_error &ex) const
 {
   std::cerr << "[logger] boost::log::runtime_error: " << ex.what() << '\n';
 }
Exemplo n.º 2
0
bool is_my_exception(const runtime_error& ex)
{
  return strcmp(ex.what(),"EXCEPTION!!!!!") == 0;
}
Exemplo n.º 3
0
 int HandleRuntimeError(runtime_error theRuntimeError)
 {
     cerr << theRuntimeError.what() << endl;
     
     return 1;
 }