Lutok: lutok::file_not_found_error Class Reference

Lutok 0.4

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Macros
Public Member Functions | Private Attributes
lutok::file_not_found_error Class Reference

File not found error. More...

`#include <exceptions.hpp>`

Inheritance diagram for lutok::file_not_found_error:

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.
Public Member Functions inherited from lutok::error
| 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

File not found error.

## 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:

- exceptions.hpp
- exceptions.cpp