Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _RD_FILEPARSEEXCEPTION_H
00011 #define _RD_FILEPARSEEXCEPTION_H
00012
00013 #include <string>
00014 #include <exception>
00015
00016 namespace RDKit {
00017
00018 class FileParseException : public std::exception {
00019 public:
00020
00021 explicit FileParseException(const char *msg) : _msg(msg) {};
00022
00023 explicit FileParseException(const std::string msg) : _msg(msg) {};
00024
00025 const char *message () const { return _msg.c_str(); };
00026 ~FileParseException () throw () {};
00027 private:
00028 std::string _msg;
00029 };
00030 }
00031
00032 #endif
00033