WiscDB
 All Classes Functions Variables Friends
Public Member Functions | Protected Attributes
wiscdb::BadBufferException Class Reference

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>

Inheritance diagram for wiscdb::BadBufferException:
wiscdb::WiscDbException

List of all members.

Public Member Functions

 BadBufferException (FrameId frameNoIn, bool dirtyIn, bool validIn, bool refbitIn)

Protected Attributes

FrameId frameNo
bool dirty
bool valid
bool refbit

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Data Documentation

True if buffer is dirty; false otherwise

Definition at line 36 of file bad_buffer_exception.h.

Frame number of bad buffer

Definition at line 31 of file bad_buffer_exception.h.

Has this buffer frame been reference recently

Definition at line 46 of file bad_buffer_exception.h.

True if buffer is valid

Definition at line 41 of file bad_buffer_exception.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends