artdaq_core
v3_06_01
Return to top level
Main Page
Related Pages
Namespaces
Classes
Files
File List
ExceptionHandler.hh
1
#ifndef artdaq_core_Utilities_ExceptionHandler_hh
2
#define artdaq_core_Utilities_ExceptionHandler_hh
3
4
#include <string>
5
6
namespace
artdaq {
10
enum class
ExceptionHandlerRethrow
11
{
12
yes
,
13
no
14
};
15
50
void
ExceptionHandler
(
ExceptionHandlerRethrow
decision,
const
std::string& optional_message =
""
);
51
}
// namespace artdaq
52
53
#endif
artdaq::ExceptionHandlerRethrow
ExceptionHandlerRethrow
Controls whether the ExceptionHandler will rethrow after printing exception details.
Definition:
ExceptionHandler.hh:10
artdaq::ExceptionHandlerRethrow::no
Consume the exception and proceed.
artdaq::ExceptionHandlerRethrow::yes
Rethrow the exception after sending details to MessageFacility.
artdaq::ExceptionHandler
void ExceptionHandler(ExceptionHandlerRethrow decision, const std::string &optional_message)
The ExceptionHandler class prints out all available information about an excection, then optionally re-throws.
Definition:
ExceptionHandler.cc:34
src
artdaq-core
Utilities
ExceptionHandler.hh
Generated on Wed Aug 12 2020 18:08:55 for artdaq_core by
1.8.5