11 #ifndef _RD_BADFILEEXCEPTION_H 12 #define _RD_BADFILEEXCEPTION_H 25 :
std::runtime_error(
"BadFileException"), _msg(msg){};
28 :
std::runtime_error(
"BadFileException"), _msg(msg){};
30 const char *
message()
const {
return _msg.c_str(); };
const char * message() const
get the error message
used by various file parsing classes to indicate a bad file
BadFileException(const std::string &msg)
construct with an error message
BadFileException(const char *msg)
construct with an error message