]> git.tdb.fi Git - libs/core.git/blob - source/except.h
Mark the print functions inline
[libs/core.git] / source / except.h
1 /* $Id$
2
3 This file is part of libmspio
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7 #ifndef MSP_IO_EXCEPT_H_
8 #define MSP_IO_EXCEPT_H_
9
10 #include <msp/core/except.h>
11
12 namespace Msp {
13 namespace IO {
14
15 class FileNotFound: public Exception
16 {
17 public:
18         FileNotFound(const std::string &w_, const std::string &f): Exception(w_), filename(f) { }
19         const std::string &get_filename() { return filename; }
20         ~FileNotFound() throw() { }
21 private:
22         std::string filename;
23 };
24
25 } // namespace IO
26 } // namespace Msp
27
28 #endif