#ifndef MSP_IO_FILE_H_
#define MSP_IO_FILE_H_
+#include <stdexcept>
#include <string>
#include "base.h"
#include "buffered.h"
namespace Msp {
namespace IO {
+class file_not_found: public std::runtime_error
+{
+public:
+ file_not_found(const std::string &fn): std::runtime_error(fn) { }
+};
+
+
/**
A class for reading and writing files.