13 void ErrorHandler
ATLAS_NOT_THREAD_SAFE ( Int_t level, Bool_t abort,
const char* location,
const char* message ) {
15 if(
svc->m_catchLevel <= level) {
16 std::ostringstream oss;
17 oss <<
"AthROOTErrorHandlerSvc detected ROOT message >= CatchLevel "
18 <<
svc->m_catchLevel <<
" (" << level <<
"): " << location <<
" : " << message;
19 throw std::runtime_error(oss.str());
21 const auto itr =
svc->m_throwSources.find(location);
22 if(itr!=
svc->m_throwSources.end() && itr->second <= level) {
23 std::ostringstream oss;
24 oss <<
"AthROOTErrorHandlerSvc detected ROOT message from Throw Sources : "
25 << location <<
" (level=" << level <<
") : " << message;
26 throw std::runtime_error(oss.str());