00001 #ifndef artdaq_core_Utilities_ExceptionHandler_hh 00002 #define artdaq_core_Utilities_ExceptionHandler_hh 00003 00004 #include <string> 00005 00006 namespace artdaq 00007 { 00011 enum class ExceptionHandlerRethrow 00012 { 00013 yes, 00014 no 00015 }; 00016 00051 void ExceptionHandler(ExceptionHandlerRethrow decision, std::string optional_message = ""); 00052 } 00053 00054 #endif