00001 00008 #pragma once 00009 00010 #include <string> 00011 00012 #include "wiscdb_exception.h" 00013 00014 namespace wiscdb { 00015 00020 class FileExistsException : public WiscDbException { 00021 public: 00027 explicit FileExistsException(const std::string& name); 00028 00032 virtual const std::string& filename() const { return filename_; } 00033 00034 protected: 00038 const std::string& filename_; 00039 }; 00040 00041 }