コード例 #1
0
ファイル: logger.cpp プロジェクト: dvetutnev/boost_log_test
 void operator()(const runtime_error &ex) const
 {
   std::cerr << "[logger] boost::log::runtime_error: " << ex.what() << '\n';
 }
コード例 #2
0
bool is_my_exception(const runtime_error& ex)
{
  return strcmp(ex.what(),"EXCEPTION!!!!!") == 0;
}
コード例 #3
0
 int HandleRuntimeError(runtime_error theRuntimeError)
 {
     cerr << theRuntimeError.what() << endl;
     
     return 1;
 }