2015-03-12 14:27:51 +01:00
|
|
|
#include "FileAlreadyExistsException.h"
|
2014-12-09 17:19:59 +01:00
|
|
|
|
|
|
|
namespace bf = boost::filesystem;
|
|
|
|
|
|
|
|
using std::runtime_error;
|
|
|
|
using std::string;
|
|
|
|
|
|
|
|
namespace blockstore {
|
|
|
|
namespace ondisk {
|
|
|
|
|
|
|
|
FileAlreadyExistsException::FileAlreadyExistsException(const bf::path &filepath)
|
|
|
|
: runtime_error(string("The file ")+filepath.c_str()+" already exists") {
|
|
|
|
}
|
|
|
|
|
|
|
|
FileAlreadyExistsException::~FileAlreadyExistsException() {
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|