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>
Public Member Functions | |
FileNotFoundException (const std::string &name) | |
virtual const std::string & | filename () const |
Protected Attributes | |
const std::string & | filename_ |
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.
wiscdb::FileNotFoundException::FileNotFoundException | ( | const std::string & | name | ) | [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 file_not_found_exception.cpp.
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.
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.