File not found error.
More...
#include <exceptions.hpp>
List of all members.
Public Member Functions |
| file_not_found_error (const std::string &) |
| Constructs a new error.
|
virtual | ~file_not_found_error (void) throw () |
| Destructor for the error.
|
const std::string & | filename (void) const |
| Gets the name of the file that could not be found.
|
| error (const std::string &) |
| Constructs a new error with a plain-text message.
|
virtual | ~error (void) throw () |
| Destructor for the error.
|
Private Attributes |
std::string | _filename |
| Name of the not-found file.
|
Detailed Description
Constructor & Destructor Documentation
lutok::file_not_found_error::file_not_found_error |
( |
const std::string & |
filename_ | ) |
|
|
explicit |
Constructs a new error.
- Parameters:
-
filename_ | The file that count not be found. |
Member Function Documentation
const std::string & lutok::file_not_found_error::filename |
( |
void |
| ) |
const |
Gets the name of the file that could not be found.
- Returns:
- The name of the file.
The documentation for this class was generated from the following files: