BadgerDB
/afs/cs.wisc.edu/p/course/cs564-jignesh/public/html/projects/BadgerDB/bufmgr/src/exceptions/file_exists_exception.h
00001 
00008 #pragma once
00009 
00010 #include <string>
00011 
00012 #include "badgerdb_exception.h"
00013 
00014 namespace badgerdb {
00015 
00020 class FileExistsException : public BadgerDbException {
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 }
 All Classes Namespaces Functions Variables Typedefs Friends