11 #ifndef RD_FILEPARSEEXCEPTION_H
12 #define RD_FILEPARSEEXCEPTION_H
23 : std::runtime_error(
"FileParseException"), _msg(msg){};
26 : std::runtime_error(
"FileParseException"), _msg(msg){};
28 const char *
what() const noexcept
override {
return _msg.c_str(); };
used by various file parsing classes to indicate a parse error
FileParseException(const std::string msg)
construct with an error message
FileParseException(const char *msg)
construct with an error message
const char * what() const noexcept override
get the error message
~FileParseException() noexcept