wisc_db
file_exists_exception.h
1 
8 #pragma once
9 
10 #include <string>
11 
12 #include "wiscdb_exception.h"
13 
14 namespace wiscdb {
15 
21  public:
27  explicit FileExistsException(const std::string& name);
28 
32  virtual const std::string& filename() const { return filename_; }
33 
34  protected:
38  const std::string& filename_;
39 };
40 
41 }
Definition: buffer.h:14
virtual const std::string & filename() const
FileExistsException(const std::string &name)
An exception that is thrown when a file creation is requested for a filename that already exists...
Base class for all WiscDB-specific exceptions.