WiscDB
 All Classes Functions Variables Friends
slot_in_use_exception.h
00001 
00008 #pragma once
00009 
00010 #include <string>
00011 
00012 #include "wiscdb_exception.h"
00013 #include "include/types.h"
00014 
00015 namespace wiscdb {
00016 
00021 class SlotInUseException : public WiscDbException {
00022  public:
00029   SlotInUseException(const PageId page_num, const SlotId slot_num);
00030 
00035   virtual PageId page_number() const { return page_number_; }
00036 
00040   virtual SlotId slot_number() const { return slot_number_; }
00041 
00042  protected:
00046   const PageId page_number_;
00047 
00051   const SlotId slot_number_;
00052 };
00053 
00054 }
 All Classes Functions Variables Friends