BadgerDB
 All Classes Namespaces Functions Variables Typedefs Friends Pages
file_open_exception.h
1 
8 #pragma once
9 
10 #include <string>
11 
12 #include "badgerdb_exception.h"
13 
14 namespace badgerdb {
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 }
virtual const std::string & filename() const
Base class for all BadgerDB-specific exceptions.
An exception that is thrown when a file deletion is requested for a filename that's currently open...
FileOpenException(const std::string &name)