ATLAS Offline Software
Macros
throwExcept.h File Reference
#include <exception>
#include <sstream>
Include dependency graph for throwExcept.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define THROW_EXCEPTION(MESSAGE)
 

Macro Definition Documentation

◆ THROW_EXCEPTION

#define THROW_EXCEPTION (   MESSAGE)
Value:
{ \
std::stringstream except_str{}; \
except_str<<__FILE__<<":"<<__LINE__<<" --- "; \
except_str<<MESSAGE; \
throw std::runtime_error(except_str.str()); \
}

Definition at line 11 of file throwExcept.h.