![]() |
AliPhysics
d219d63 (d219d63)
|
Handling of incorrect values in YAML configuration files. More...
#include <AliAnalysisTaskEmcalTriggerSelection.h>
Public Member Functions | |
ConfigValueException (const char *key, const char *value) | |
Construct a new ConfigValueException object. More... | |
virtual | ~ConfigValueException () throw () |
Destructor. More... | |
const char * | what () const throw () |
Display error message. More... | |
const std::string & | getKey () const |
const std::string & | getValue () const |
Private Attributes | |
std::string | fKey |
Key for which an unknown value was assigned. More... | |
std::string | fValue |
Improper value raising the exception. More... | |
std::string | fMessage |
Error message shown in what() More... | |
Handling of incorrect values in YAML configuration files.
Many information (Acceptance, patch type, ...) are represented in the YAML configuration file as strings. Thus they correspond to a finite set of values, usually handled as enumeration type. This class handles the error raised for improper configuration values;
Definition at line 156 of file AliAnalysisTaskEmcalTriggerSelection.h.
PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigValueException::ConfigValueException | ( | const char * | key, |
const char * | value | ||
) |
Construct a new ConfigValueException object.
Exception is thrown when decoding a configuration string with an unknown value
key | Key for which an improper value was set |
value | Improper value |
Definition at line 488 of file AliAnalysisTaskEmcalTriggerSelection.cxx.
|
inlinevirtual |
Destructor.
Definition at line 171 of file AliAnalysisTaskEmcalTriggerSelection.h.
|
inline |
Definition at line 179 of file AliAnalysisTaskEmcalTriggerSelection.h.
|
inline |
Definition at line 180 of file AliAnalysisTaskEmcalTriggerSelection.h.
|
inline |
Display error message.
Definition at line 177 of file AliAnalysisTaskEmcalTriggerSelection.h.
Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigureFromYAML().
|
private |
Key for which an unknown value was assigned.
Definition at line 183 of file AliAnalysisTaskEmcalTriggerSelection.h.
Referenced by ConfigValueException().
|
private |
Error message shown in what()
Definition at line 185 of file AliAnalysisTaskEmcalTriggerSelection.h.
Referenced by ConfigValueException().
|
private |
Improper value raising the exception.
Definition at line 184 of file AliAnalysisTaskEmcalTriggerSelection.h.
Referenced by ConfigValueException().