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::detail {
11  public:
13  char const*
14  what() const noexcept override
15  {
16  return msg_.c_str();
17  }
18 
19  private:
21  };
22 }
23 
24 #endif /* fhiclcpp_types_detail_validationException_h */
25 
26 // Local variables:
27 // mode:c++
28 // End:
void msg(const char *fmt,...)
Definition: message.cpp:107
std::string string
Definition: nybbler.cc:12
def move(depos, offset)
Definition: depos.py:107
char const * what() const noexcept override
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33