LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CRUException.h
Go to the documentation of this file.
1 
14 #ifndef CRUEXCEPTION_H
15 #define CRUEXCEPTION_H
16 
17 #include <exception>
18 #include <string>
19 
20 namespace cluster {
25  class CRUException : public std::exception {
26 
27  public:
28  CRUException(std::string msg = "") : _msg(msg) {}
29 
30  const char* what() const noexcept override { return _msg.c_str(); }
31 
32  private:
33  std::string _msg;
34  };
35 
36 }
37 #endif
38  // end of doxygen group
const char * what() const noexcept override
Definition: CRUException.h:30
Cluster finding and building.
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
CRUException(std::string msg="")
Definition: CRUException.h:28