2014-12-09 17:19:59 +01:00
|
|
|
#pragma once
|
2015-10-15 13:09:21 +02:00
|
|
|
#ifndef MESSMER_BLOCKSTORE_UTILS_FILEDOESNTEXISTEXCEPTION_H_
|
|
|
|
#define MESSMER_BLOCKSTORE_UTILS_FILEDOESNTEXISTEXCEPTION_H_
|
2014-12-09 17:19:59 +01:00
|
|
|
|
|
|
|
#include <boost/filesystem/path.hpp>
|
|
|
|
|
|
|
|
#include <stdexcept>
|
|
|
|
|
|
|
|
namespace blockstore {
|
|
|
|
|
|
|
|
class FileDoesntExistException: public std::runtime_error {
|
|
|
|
public:
|
2015-04-27 18:20:51 +02:00
|
|
|
explicit FileDoesntExistException(const boost::filesystem::path &filepath);
|
2014-12-09 17:19:59 +01:00
|
|
|
virtual ~FileDoesntExistException();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|