1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-12-21 13:14:29 +00:00

Hadrons: safer error handling for HadronsXmlRun

This commit is contained in:
2018-03-02 19:19:37 +00:00
parent c4baf876d4
commit 480708b9a0
4 changed files with 19 additions and 76 deletions

View File

@@ -37,7 +37,6 @@ See the full license in the file "LICENSE" in the top level distribution directo
#define SRC_LOC std::string(__FUNCTION__) + " at " + std::string(__FILE__) + ":"\
+ std::to_string(__LINE__)
#define HADRON_ERROR(exc, msg)\
LOG(Error) << msg << std::endl;\
throw(Exceptions::exc(msg, SRC_LOC));
#define DECL_EXC(name, base) \