artdaq_core  v1_07_04
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
ExceptionHandler.hh
1 #ifndef artdaq_core_Utilities_ExceptionHandler_hh
2 #define artdaq_core_Utilities_ExceptionHandler_hh
3 
4 #include <string>
5 
6 namespace artdaq
7 {
12  {
13  yes,
14  no
15  };
16 
51  void ExceptionHandler(ExceptionHandlerRethrow decision, std::string optional_message = "");
52 }
53 
54 #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.