An exception that is thrown when a file operation is requested for a filename that doesn't exist. More...
#include <bad_index_info_exception.h>
Public Member Functions | |
BadIndexInfoException (const std::string &reason) | |
virtual const std::string & | reason () const |
Protected Attributes | |
const std::string & | reason_ |
An exception that is thrown when a file operation is requested for a filename that doesn't exist.
Definition at line 20 of file bad_index_info_exception.h.
wiscdb::BadIndexInfoException::BadIndexInfoException | ( | const std::string & | reason | ) | [explicit] |
Constructs a file not found exception for the given file.
name | Name of file that doesn't exist. |
Definition at line 15 of file bad_index_info_exception.cpp.
virtual const std::string& wiscdb::BadIndexInfoException::reason | ( | ) | const [inline, virtual] |
Returns the name of the file that caused this exception.
Definition at line 32 of file bad_index_info_exception.h.
const std::string& wiscdb::BadIndexInfoException::reason_ [protected] |
Name of file that caused this exception.
Definition at line 38 of file bad_index_info_exception.h.