An exception that is thrown when a buffer is found whose valid is false but other variables in BufDesc are assigned valid values. More...
#include <bad_buffer_exception.h>
Public Member Functions | |
BadBufferException (FrameId frameNoIn, bool dirtyIn, bool validIn, bool refbitIn) | |
Protected Attributes | |
FrameId | frameNo |
bool | dirty |
bool | valid |
bool | refbit |
An exception that is thrown when a buffer is found whose valid is false but other variables in BufDesc are assigned valid values.
Definition at line 20 of file bad_buffer_exception.h.
wiscdb::BadBufferException::BadBufferException | ( | FrameId | frameNoIn, |
bool | dirtyIn, | ||
bool | validIn, | ||
bool | refbitIn | ||
) | [explicit] |
Constructs a bad buffer exception for the given file.
Definition at line 15 of file bad_buffer_exception.cpp.
bool wiscdb::BadBufferException::dirty [protected] |
True if buffer is dirty; false otherwise
Definition at line 36 of file bad_buffer_exception.h.
FrameId wiscdb::BadBufferException::frameNo [protected] |
Frame number of bad buffer
Definition at line 31 of file bad_buffer_exception.h.
bool wiscdb::BadBufferException::refbit [protected] |
Has this buffer frame been reference recently
Definition at line 46 of file bad_buffer_exception.h.
bool wiscdb::BadBufferException::valid [protected] |
True if buffer is valid
Definition at line 41 of file bad_buffer_exception.h.