11#ifndef __FEATUREPARSER_H_02122004_1810__
12#define __FEATUREPARSER_H_02122004_1810__
24 :
public std::exception {
28 : d_lineNo(lineNo), d_line(std::move(line)), d_msg(std::move(msg)) {}
29 unsigned int lineNo()
const {
return d_lineNo; }
30 std::string
line()
const {
return d_line; }
31 const char *
what() const noexcept
override {
return d_msg.c_str(); }
35 unsigned int d_lineNo;
36 std::
string d_line, d_msg;
40 const std::
string &defnText,
45 const std::
string &fileName,
51 const std::string &inLine, std::map<std::string, std::string> &atomTypeDefs,
52 const unsigned int &lineNo);
54 std::istream &inStream,
const std::string &inLine,
unsigned int &lineNo,
55 const std::map<std::string, std::string> &atomTypeDefs);
class used to indicate errors in parsing feature definition files.
const char * what() const noexcept override
~FeatureFileParseException() noexcept override=default
FeatureFileParseException(unsigned int lineNo, std::string line, std::string msg)
unsigned int lineNo() const
#define RDKIT_MOLCHEMICALFEATURES_EXPORT