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