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 *
message()
const {
return _msg.c_str(); };
const char * message() const
get the error message
FileParseException(const char *msg)
construct with an error message
FileParseException(const std::string msg)
construct with an error message
used by various file parsing classes to indicate a parse error