wisc_db
bad_buffer_exception.h
1 
8 #pragma once
9 
10 #include <string>
11 
12 #include "wiscdb_exception.h"
13 #include "include/types.h"
14 
15 namespace wiscdb {
16 
21  public:
25  explicit BadBufferException(FrameId frameNoIn, bool dirtyIn, bool validIn, bool refbitIn);
26 
27  protected:
32 
36  bool dirty;
37 
41  bool valid;
42 
46  bool refbit;
47 };
48 
49 }
Definition: buffer.h:14
An exception that is thrown when a buffer is found whose valid is false but other variables in BufDes...
std::uint32_t FrameId
Identifier for a frame in buffer pool.
Definition: types.h:25
Base class for all WiscDB-specific exceptions.
BadBufferException(FrameId frameNoIn, bool dirtyIn, bool validIn, bool refbitIn)