3 This file is part of libmspio
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
7 #ifndef MSP_IO_ERROR_H_
8 #define MSP_IO_ERROR_H_
10 #include <msp/core/error.h>
15 class Exception: public Msp::Exception
18 Exception(const std::string &w_): Msp::Exception(w_) { }
21 class FileNotFound: public Exception
24 FileNotFound(const std::string &w_, const std::string &f): Exception(w_), filename(f) { }
25 const std::string &get_filename() { return filename; }
26 ~FileNotFound() throw() { }