LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
DetectorClocksException.h
Go to the documentation of this file.
1 
14 #ifndef DETECTORCLOCKSEXCEPTION_H
15 #define DETECTORCLOCKSEXCEPTION_H
16 
17 #include <exception>
18 #include <string>
19 
20 namespace detinfo {
26 
27  public:
28  DetectorClocksException(std::string msg = "") : std::exception(), _msg(msg) {}
29 
30  virtual ~DetectorClocksException() throw(){};
31  virtual const char* msg() const throw() { return _msg.c_str(); }
32 
33  private:
34  std::string _msg;
35  };
36 
37 }
38 #endif
39  // end of doxygen group
STL namespace.
General LArSoft Utilities.
virtual const char * msg() const
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33