void RFXComTCP::OnError(const std::exception e) { _log.Log(LOG_ERROR, "RFXCOM: Error: %s", e.what()); }
void AppExceptionHandler::handleExit( const std::exception &e ) { d_->log( "handleExit", e.what()); exit(1); }
void operator()(const std::exception& e) const { std::cerr << "std::exception: " << e.what() << '\n'; }
void ThrowJavaException(JNIEnv* env, const std::exception& e) { ThrowJavaException(env, std::string("Exception from libadblockplus: ") + e.what()); }
void AppExceptionHandler::handleThreadExit( const std::exception &e ) { d_->log( "handleThreadExit", e.what()); Thread::exit(); }
void Display::Exeception(std::exception ex) { Verbose::show(" Exception caught:", always); Verbose::show(std::string("\n ") + ex.what() + "\n\n"); }
void CPVRClient::LogException(const std::exception &e, const char *strFunctionName) const { CLog::Log(LOGERROR, "PVR - exception '%s' caught while trying to call '%s' on add-on '%s'. Please contact the developer of this add-on: %s", e.what(), strFunctionName, GetFriendlyName().c_str(), Author().c_str()); }
void handleException( const std::exception& e ) { std::cout << e.what() << std::endl; }
EventStdException(event_logger::eventLevel l, const std::exception& e, std::wstring from) : EventDetail(l, boost::posix_time::second_clock::universal_time(), event_logger::generalException), exception_(hal::from_utf8(e.what())), from_(from) {}
void DiagnosticsDialog::exceptionMessage(const std::exception& e, const QString& context) { pushMessage(MS_EXCEPTION, (context.isEmpty() ? "" : context + "\n\n" + QString::fromUtf8(e.what()))); // error message is important, make sure the diagnostics are shown show(); }
void qlTimeSeriesDataReaderListenerImpl::on_std_exception( DDS::DataReader_ptr reader, timeseries::qlTimeSeries&, std::exception& e ) { ACE_ERROR((LM_WARNING, ACE_TEXT("(%P|%t) WARNING: ") ACE_TEXT("qlTimeSeriesDataReaderListenerImpl::on_std_exception %s\n"), e.what() )); }
/*! * \brief handle exception throwed out * \param e the exception * \return the return value of API after exception is handled */ int XGBHandleException(const std::exception &e) { XGBSetGetLastError_(e.what()); return -1; }
void qlMTBrownianGeneratorFactoryDataReaderListenerImpl::on_std_exception( DDS::DataReader_ptr reader, browniangenerators::qlMTBrownianGeneratorFactory&, std::exception& e ) { ACE_ERROR((LM_WARNING, ACE_TEXT("(%P|%t) WARNING: ") ACE_TEXT("qlMTBrownianGeneratorFactoryDataReaderListenerImpl::on_std_exception %s\n"), e.what() )); }
void fail_policy::operator()(const std::exception &fail_arg) const { std::cerr << "# unexpected exception is unexpected. std::exception::what() says, \"" << fail_arg.what() << ".\"\n"; }
void ShowError(const std::exception &exception, const TCHAR *caption) { ShowMessageBox(UTF8ToWideConverter(exception.what()), caption, MB_OK|MB_ICONEXCLAMATION); }
void boost::throw_exception(std::exception const& exp) { Output_::Error("exception: %s", exp.what()); }
inline void boost::throw_exception(std::exception const & e) { std::clog << "Boost exception: " << e.what() << std::endl; }
void StandardExceptionTranslator( const std::exception& e ) { BOOST_TEST_MESSAGE( e.what() ); }
void CRFLinkTCP::OnError(const std::exception e) { _log.Log(LOG_ERROR,"RFLink: Error: %s",e.what()); }
void ctkPluginDatabaseException::setCause(const std::exception& cause) throw(std::logic_error) { if (!cause.what()) throw std::logic_error("The cause for this ctkPluginDatabaseException instance is already set"); this->cause = cause; }
void boost::throw_exception(std::exception const& ex) { std::cout << ex.what() << std::endl; abort(); }
void StackException::add(const std::exception &e) { add("%s", e.what()); }
void OnFatalError(std::exception const& ex) { m_errors << "Fatal error: " << ex.what() << std::endl; }
void qlExponentialForwardCorrelationDataReaderListenerImpl::on_std_exception( DDS::DataReader_ptr reader, correlation::qlExponentialForwardCorrelation&, std::exception& e ) { ACE_ERROR((LM_WARNING, ACE_TEXT("(%P|%t) WARNING: ") ACE_TEXT("qlExponentialForwardCorrelationDataReaderListenerImpl::on_std_exception %s\n"), e.what() )); }
void AppExceptionHandler::handleLogOnly( const std::exception &e ) { d_->log( "handleLogOnly", e.what()); }
void qlHistoricalRatesAnalysisDataReaderListenerImpl::on_std_exception( DDS::DataReader_ptr reader, correlation::qlHistoricalRatesAnalysis&, std::exception& e ) { ACE_ERROR((LM_WARNING, ACE_TEXT("(%P|%t) WARNING: ") ACE_TEXT("qlHistoricalRatesAnalysisDataReaderListenerImpl::on_std_exception %s\n"), e.what() )); }
void throw_exception(const std::exception& e) { printf("Throw exception %s\n", e.what()); while (1); }
void qlMarketModelLmLinearExponentialCorrelationModelDataReaderListenerImpl::on_std_exception( DDS::DataReader_ptr reader, correlation::qlMarketModelLmLinearExponentialCorrelationModel&, std::exception& e ) { ACE_ERROR((LM_WARNING, ACE_TEXT("(%P|%t) WARNING: ") ACE_TEXT("qlMarketModelLmLinearExponentialCorrelationModelDataReaderListenerImpl::on_std_exception %s\n"), e.what() )); }
std::string causedBy(const std::exception& e) { return causedBy(e.what()); }
void ErrorHandler::exception(const std::exception& exc) { poco_debugger_msg(exc.what()); }