ATLAS Offline Software
Loading...
Searching...
No Matches
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
10namespace 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