DetectorClocksException.h
Go to the documentation of this file.
1 /**
2  * \file DetectorClocksException.h
3  *
4  * \ingroup DetectorClocks
5  *
6  * \brief Class def header for exception classes in DetectorClocks data provider
7  *
8  * @author kazuhiro
9  */
10 
11 /** \addtogroup TimeService
12 
13  @{*/
14 #ifndef DETECTORCLOCKSEXCEPTION_H
15 #define DETECTORCLOCKSEXCEPTION_H
16 
17 #include <string>
18 #include <exception>
19 
20 namespace gar {
21  namespace detinfo {
22  /**
23  \class DetectorClocksException
24  Simple exception class for DetectorClocks
25  */
27 
28  public:
29 
31  {}
32 
33  virtual ~DetectorClocksException() throw(){};
34  virtual const char* msg() const throw()
35  {return _msg.c_str(); }
36 
37  private:
38 
40  };
41 
42  }
43 } // gar
44 
45 #endif
46 /** @} */ // end of doxygen group
47 
std::string string
Definition: nybbler.cc:12
STL namespace.
General LArSoft Utilities.
General GArSoft Utilities.
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33