WiscDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Public Member Functions | Protected Attributes
wiscdb::BadIndexInfoException Class Reference

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>

Inheritance diagram for wiscdb::BadIndexInfoException:
wiscdb::WiscDbException

List of all members.

Public Member Functions

 BadIndexInfoException (const std::string &reason)
virtual const std::string & reason () const

Protected Attributes

const std::string & reason_

Detailed Description

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.


Constructor & Destructor Documentation

wiscdb::BadIndexInfoException::BadIndexInfoException ( const std::string &  reason) [explicit]

Constructs a file not found exception for the given file.

Parameters:
nameName of file that doesn't exist.

Definition at line 15 of file bad_index_info_exception.cpp.


Member Function Documentation

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.


Member Data Documentation

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.


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