AlarmNotifications
PANDA Slow Control Alarm Daemon
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
exceptionhandler.h
Go to the documentation of this file.
1 
34 #ifndef EXCEPTIONHANDLER_H
35 #define EXCEPTIONHANDLER_H
36 
37 #include <exception>
38 #include <string>
39 
40 #include "oldgcccompat.h" // Compatibilty macros for GCC < 4.7
41 
42 namespace AlarmNotifications {
43 
54 void ExceptionHandler ( std::exception& e, std::string location, const bool quit = false ) noexcept;
64 void ExceptionHandler ( std::string location, const bool quit = false ) noexcept;
65 
66 }
67 #endif
Compatibility macros for older versions of the GCC.
STL namespace.
Namespace for Alarm Notifications application.
#define noexcept
Allow using the noexcept keyword with GCC < 4.6.
Definition: oldgcccompat.h:52
void ExceptionHandler(std::exception &e, std::string location, const bool quit=false) noexcept
Generic exception handler for known exceptions.