ATLAS Offline Software
Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGCONFIO_TRIGCONFIOEXCEPTIONS_H
6 #define TRIGCONFIO_TRIGCONFIOEXCEPTIONS_H
7 
8 #include <exception>
9 #include <string>
10 
11 namespace TrigConf {
12 
13  class IOException : public std::exception {
14  public:
15  IOException(std::string msg);
16  virtual const char* what() const noexcept;
17  private:
18  const std::string m_msg;
19  };
20 
21  class QueryException : public IOException {
22  public:
23  QueryException(std::string msg) : IOException(std::move(msg)) {}
24  };
25 
26  class NoQueryException : public IOException {
27  public:
28  NoQueryException(std::string msg) : IOException(std::move(msg)) {}
29  };
30 
31  class NoSMKException : public IOException {
32  public:
33  NoSMKException(std::string msg) : IOException(std::move(msg)) {}
34  };
35 
36  class NoL1PSKException : public IOException {
37  public:
38  NoL1PSKException(std::string msg) : IOException(std::move(msg)) {}
39  };
40 
41  class NoHLTPSKException : public IOException {
42  public:
43  NoHLTPSKException(std::string msg) : IOException(std::move(msg)) {}
44  };
45 
46  class NoBGSKException : public IOException {
47  public:
48  NoBGSKException(std::string msg) : IOException(std::move(msg)) {}
49  };
50 
51  class ParsingException : public IOException {
52  public:
53  ParsingException(std::string msg) : IOException(std::move(msg)) {}
54  };
55 
56 
57 }
58 
59 #endif
TrigConf::ParsingException::ParsingException
ParsingException(std::string msg)
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:53
TrigConf::NoHLTPSKException
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:41
TrigConf::NoSMKException
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:31
TrigConf::NoBGSKException
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:46
TrigConf::IOException::m_msg
const std::string m_msg
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:18
TrigConf::NoSMKException::NoSMKException
NoSMKException(std::string msg)
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:33
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
calibdata.exception
exception
Definition: calibdata.py:496
TrigConf::QueryException::QueryException
QueryException(std::string msg)
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:23
TrigConf::NoQueryException
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:26
TrigConf::ParsingException
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:51
TrigConf::QueryException
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:21
TrigConf::NoHLTPSKException::NoHLTPSKException
NoHLTPSKException(std::string msg)
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:43
TrigConf::IOException::IOException
IOException(std::string msg)
Definition: Trigger/TrigConfiguration/TrigConfIO/src/Exceptions.cxx:3
TrigConf::NoBGSKException::NoBGSKException
NoBGSKException(std::string msg)
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:48
TrigConf::NoL1PSKException
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:36
TrigConf::IOException::what
virtual const char * what() const noexcept
Definition: Trigger/TrigConfiguration/TrigConfIO/src/Exceptions.cxx:7
TrigConf::IOException
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:13
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
TrigConf::NoL1PSKException::NoL1PSKException
NoL1PSKException(std::string msg)
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:38
TrigConf::NoQueryException::NoQueryException
NoQueryException(std::string msg)
Definition: Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/Exceptions.h:28