1 #ifndef MSP_DATAFILE_DATAERROR_H_
2 #define MSP_DATAFILE_DATAERROR_H_
9 class data_error: public std::runtime_error
16 data_error(const std::string &, unsigned, const std::string &);
17 data_error(const std::string &, unsigned, const std::exception &);
18 virtual ~data_error() throw() { }
20 const std::string &get_source() const { return source; }
21 unsigned get_line() const { return line; }
24 std::string make_what(const std::string &, unsigned, const std::string &);
27 } // namespace DataFile