ATLAS Offline Software
Reconstruction/tauRecTools/tauRecTools/lwtnn/Exceptions.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EXCEPTIONS_HH_TAURECTOOLS
6 #define EXCEPTIONS_HH_TAURECTOOLS
7 
8 #include <stdexcept>
9 
10 namespace lwtDev {
11  // ______________________________________________________________________
12  // exceptions
13 
14  // base exception
15  class LightweightNNException: public std::logic_error {
16  public:
17  LightweightNNException(const std::string& problem);
18  };
19 
20  // thrown by the constructor if something goes wrong
22  public:
23  NNConfigurationException(const std::string& problem);
24  };
25 
26  // thrown by `compute`
28  public:
29  NNEvaluationException(const std::string& problem);
30  };
32  public:
33  OutputRankException(const std::string& problem);
34  };
35 }
36 
37 #endif // EXCEPTIONS_HH_TAURECTOOLS
38 
39 
40 
lwtDev::NNConfigurationException
Definition: Reconstruction/tauRecTools/tauRecTools/lwtnn/Exceptions.h:21
lwtDev::LightweightNNException::LightweightNNException
LightweightNNException(const std::string &problem)
Definition: Reconstruction/tauRecTools/Root/lwtnn/Exceptions.cxx:12
lwtDev::OutputRankException
Definition: Reconstruction/tauRecTools/tauRecTools/lwtnn/Exceptions.h:31
lwtDev::OutputRankException::OutputRankException
OutputRankException(const std::string &problem)
Definition: Reconstruction/tauRecTools/Root/lwtnn/Exceptions.cxx:21
lwtDev::LightweightNNException
Definition: Reconstruction/tauRecTools/tauRecTools/lwtnn/Exceptions.h:15
lwtDev
Definition: Reconstruction/tauRecTools/Root/lwtnn/Exceptions.cxx:8
lwtDev::NNEvaluationException::NNEvaluationException
NNEvaluationException(const std::string &problem)
Definition: Reconstruction/tauRecTools/Root/lwtnn/Exceptions.cxx:18
lwtDev::NNEvaluationException
Definition: Reconstruction/tauRecTools/tauRecTools/lwtnn/Exceptions.h:27
lwtDev::NNConfigurationException::NNConfigurationException
NNConfigurationException(const std::string &problem)
Definition: Reconstruction/tauRecTools/Root/lwtnn/Exceptions.cxx:15