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

An exception that is thrown when a file operation is requested for a filename that doesn't exist. More...

#include <file_not_found_exception.h>

Inheritance diagram for wiscdb::FileNotFoundException:
wiscdb::WiscDbException

List of all members.

Public Member Functions

 FileNotFoundException (const std::string &name)
virtual const std::string & filename () const

Protected Attributes

const std::string & filename_

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 file_not_found_exception.h.


Constructor & Destructor Documentation

wiscdb::FileNotFoundException::FileNotFoundException ( const std::string &  name) [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 file_not_found_exception.cpp.


Member Function Documentation

virtual const std::string& wiscdb::FileNotFoundException::filename ( ) const [inline, virtual]

Returns the name of the file that caused this exception.

Definition at line 32 of file file_not_found_exception.h.


Member Data Documentation

const std::string& wiscdb::FileNotFoundException::filename_ [protected]

Name of file that caused this exception.

Definition at line 38 of file file_not_found_exception.h.


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