X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fdataerror.h;fp=source%2Fdataerror.h;h=0000000000000000000000000000000000000000;hp=5fca0c368f77b5b7db1a776ac58d0f85d82163c0;hb=ed78b585cfc4ecb44972e346857e887b183fd7a7;hpb=0ea5e96f078d85fe4229784e6499d19c67271219 diff --git a/source/dataerror.h b/source/dataerror.h deleted file mode 100644 index 5fca0c3..0000000 --- a/source/dataerror.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef MSP_DATAFILE_DATAERROR_H_ -#define MSP_DATAFILE_DATAERROR_H_ - -#include - -namespace Msp { -namespace DataFile { - -class data_error: public std::runtime_error -{ -private: - std::string source; - unsigned line; - -public: - data_error(const std::string &, unsigned, const std::string &); - data_error(const std::string &, unsigned, const std::exception &); - virtual ~data_error() throw() { } - - const std::string &get_source() const { return source; } - unsigned get_line() const { return line; } - -private: - std::string make_what(const std::string &, unsigned, const std::string &); -}; - -} // namespace DataFile -} // namespace Msp - -#endif