artdaq_core  v3_05_10
ExceptionHandler.hh
1 #ifndef artdaq_core_Utilities_ExceptionHandler_hh
2 #define artdaq_core_Utilities_ExceptionHandler_hh
3 
4 #include <string>
5 
6 namespace artdaq {
11 {
12  yes,
13  no
14 };
15 
50 void ExceptionHandler(ExceptionHandlerRethrow decision, std::string optional_message = "");
51 } // namespace artdaq
52 
53 #endif
ExceptionHandlerRethrow
Controls whether the ExceptionHandler will rethrow after printing exception details.
Consume the exception and proceed.
Rethrow the exception after sending details to MessageFacility.
void ExceptionHandler(ExceptionHandlerRethrow decision, std::string optional_message)
The ExceptionHandler class prints out all available information about an excection, then optionally re-throws.