BadgerDB
 All Classes Namespaces Functions Variables Typedefs Friends Pages
file_not_found_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 FileNotFoundException(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 }
Base class for all BadgerDB-specific exceptions.
An exception that is thrown when a file operation is requested for a filename that doesn't exist...
virtual const std::string & filename() const
FileNotFoundException(const std::string &name)