wisc_db
file_open_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 FileOpenException(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
An exception that is thrown when a file deletion is requested for a filename that&#39;s currently open...
FileOpenException(const std::string &name)
const std::string & filename_
Base class for all WiscDB-specific exceptions.
virtual const std::string & filename() const