validationException.h
Go to the documentation of this file.
1 #ifndef fhiclcpp_types_detail_validationException_h
2 #define fhiclcpp_types_detail_validationException_h
3 
4 #include "cetlib_except/exception.h"
5 
6 #include <exception>
7 #include <string>
8 
9 namespace fhicl {
10  namespace detail {
11 
13  public:
14  validationException(std::string msg) : msg_{std::move(msg)} {}
15  char const*
16  what() const noexcept override
17  {
18  return msg_.c_str();
19  }
20 
21  private:
23  };
24  }
25 }
26 
27 #endif /* fhiclcpp_types_detail_validationException_h */
28 
29 // Local variables:
30 // mode:c++
31 // End:
::xsd::cxx::tree::exception< char > exception
Definition: Database.h:225
char const * what() const noexcept override
enum BeamMode string