Distributed under the LGPL
*/
#include "buffered.h"
-#include "error.h"
+#include "except.h"
using namespace std;
+++ /dev/null
-/* $Id$
-
-This file is part of libmspio
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-#ifndef MSP_IO_ERROR_H_
-#define MSP_IO_ERROR_H_
-
-#include <msp/core/error.h>
-
-namespace Msp {
-namespace IO {
-
-class Exception: public Msp::Exception
-{
-public:
- Exception(const std::string &w_): Msp::Exception(w_) { }
-};
-
-class FileNotFound: public Exception
-{
-public:
- FileNotFound(const std::string &w_, const std::string &f): Exception(w_), filename(f) { }
- const std::string &get_filename() { return filename; }
- ~FileNotFound() throw() { }
-private:
- std::string filename;
-};
-
-} // namespace IO
-} // namespace Msp
-
-#endif
--- /dev/null
+/* $Id$
+
+This file is part of libmspio
+Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+#ifndef MSP_IO_EXCEPT_H_
+#define MSP_IO_EXCEPT_H_
+
+#include <msp/core/except.h>
+
+namespace Msp {
+namespace IO {
+
+class FileNotFound: public Exception
+{
+public:
+ FileNotFound(const std::string &w_, const std::string &f): Exception(w_), filename(f) { }
+ const std::string &get_filename() { return filename; }
+ ~FileNotFound() throw() { }
+private:
+ std::string filename;
+};
+
+} // namespace IO
+} // namespace Msp
+
+#endif
#include <unistd.h>
#endif
#include <msp/strings/formatter.h>
-#include "error.h"
+#include "except.h"
#include "file.h"
using namespace std;
#include <errno.h>
#include <msp/strings/formatter.h>
#include <msp/time/units.h>
-#include "error.h"
+#include "except.h"
#include "base.h"
#include "poll.h"
#ifdef WIN32
#include <windows.h>
#endif
-#include <msp/core/error.h>
+#include "except.h"
#include "seek.h"
namespace Msp {