11#ifndef _RD_BADFILEEXCEPTION_H
12#define _RD_BADFILEEXCEPTION_H
26 : std::runtime_error(
"BadFileException"), _msg(msg) {}
29 : std::runtime_error(
"BadFileException"), _msg(std::move(msg)) {}
31 const char *
what() const noexcept
override {
return _msg.c_str(); }
used by various file parsing classes to indicate a bad file
BadFileException(std::string msg)
construct with an error message
BadFileException(const char *msg)
construct with an error message
const char * what() const noexcept override
get the error message
~BadFileException() noexcept override=default
#define RDKIT_RDGENERAL_EXPORT