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 <exception>
18 #include <string>
19 
20 namespace detinfo {
21  /**
22  \class DetectorClocksException
23  Simple exception class for DetectorClocks
24  */
26 
27  public:
29 
30  virtual ~DetectorClocksException() throw(){};
31  virtual const char*
32  msg() const throw()
33  {
34  return _msg.c_str();
35  }
36 
37  private:
39  };
40 
41 }
42 #endif
43 /** @} */ // end of doxygen group
std::string string
Definition: nybbler.cc:12
STL namespace.
General LArSoft Utilities.
virtual const char * msg() const
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33