]> git.tdb.fi Git - libs/datafile.git/blob - source/except.h
Drop copyright and license notices from source files
[libs/datafile.git] / source / except.h
1 #ifndef MSP_DATAFILE_EXCEPT_H_
2 #define MSP_DATAFILE_EXCEPT_H_
3
4 #include <msp/core/except.h>
5
6 namespace Msp {
7 namespace DataFile {
8
9 class TypeError: public Exception
10 {
11 public:
12         TypeError(const std::string &w): Exception(w) { }
13 };
14
15 class ParseError: public Exception
16 {
17 public:
18         ParseError(const std::string &w): Exception(w) { }
19 };
20
21 } // namespace DataFile
22 } // namespace Msp
23
24 #endif