#include <stdexcept>
#include <string>
#include "buffered.h"
-#include "filtered.h"
#include "handle.h"
#include "seekable.h"
{
public:
file_not_found(const std::string &fn): std::runtime_error(fn) { }
- ~file_not_found() throw() { }
+ virtual ~file_not_found() throw() = default;
};
class file_already_exists: public std::runtime_error
{
public:
file_already_exists(const std::string &fn): std::runtime_error(fn) { }
- ~file_already_exists() throw() { }
+ virtual ~file_already_exists() throw() = default;
};