test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ExceptionActions.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ExceptionActions_h
2 #define FWCore_Framework_ExceptionActions_h
3 
5 
6 #include <string>
7 #include <map>
8 
9 namespace edm {
10  namespace exception_actions {
11  enum ActionCodes {
17  };
18 
19  const char* actionName(ActionCodes code);
20  }
21 
23  public:
24  typedef std::map<std::string, exception_actions::ActionCodes> ActionMap;
25 
27  explicit ExceptionToActionTable(const ParameterSet&);
29 
32 
33  private:
34  void addDefaults();
36  };
37 }
38 #endif
exception_actions::ActionCodes find(const std::string &category) const
void add(const std::string &category, exception_actions::ActionCodes code)
const char * actionName(ActionCodes code)
std::map< std::string, exception_actions::ActionCodes > ActionMap