test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Framework
interface
ExceptionActions.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ExceptionActions_h
2
#define FWCore_Framework_ExceptionActions_h
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
6
#include <string>
7
#include <map>
8
9
namespace
edm {
10
namespace
exception_actions {
11
enum
ActionCodes
{
12
IgnoreCompletely
=0,
13
Rethrow
,
14
SkipEvent
,
15
FailPath
,
16
LastCode
17
};
18
19
const
char
*
actionName
(
ActionCodes
code);
20
}
21
22
class
ExceptionToActionTable
{
23
public
:
24
typedef
std::map<std::string, exception_actions::ActionCodes>
ActionMap
;
25
26
ExceptionToActionTable
();
27
explicit
ExceptionToActionTable
(
const
ParameterSet
&);
28
~ExceptionToActionTable
();
29
30
void
add
(
const
std::string
&
category
,
exception_actions::ActionCodes
code);
31
exception_actions::ActionCodes
find
(
const
std::string
&
category
)
const
;
32
33
private
:
34
void
addDefaults
();
35
ActionMap
map_
;
36
};
37
}
38
#endif
edm::exception_actions::ActionCodes
ActionCodes
Definition:
ExceptionActions.h:11
edm::exception_actions::IgnoreCompletely
Definition:
ExceptionActions.h:12
edm::exception_actions::Rethrow
Definition:
ExceptionActions.h:13
edm::ExceptionToActionTable::map_
ActionMap map_
Definition:
ExceptionActions.h:35
edm::exception_actions::SkipEvent
Definition:
ExceptionActions.h:14
edm::ExceptionToActionTable::find
exception_actions::ActionCodes find(const std::string &category) const
Definition:
ExceptionActions.cc:93
edm::ExceptionToActionTable::addDefaults
void addDefaults()
Definition:
ExceptionActions.cc:72
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
edm::ExceptionToActionTable::add
void add(const std::string &category, exception_actions::ActionCodes code)
Definition:
ExceptionActions.cc:89
edm::exception_actions::actionName
const char * actionName(ActionCodes code)
Definition:
ExceptionActions.cc:26
python.rootplot.argparse.category
category
Definition:
argparse.py:131
edm::ExceptionToActionTable::ExceptionToActionTable
ExceptionToActionTable()
Definition:
ExceptionActions.cc:32
edm::exception_actions::LastCode
Definition:
ExceptionActions.h:16
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::exception_actions::FailPath
Definition:
ExceptionActions.h:15
edm::ExceptionToActionTable::ActionMap
std::map< std::string, exception_actions::ActionCodes > ActionMap
Definition:
ExceptionActions.h:24
edm::ExceptionToActionTable::~ExceptionToActionTable
~ExceptionToActionTable()
Definition:
ExceptionActions.cc:86
edm::ExceptionToActionTable
Definition:
ExceptionActions.h:22
Generated for CMSSW Reference Manual by
1.8.5