Lutok  0.5
Public Member Functions | Private Attributes | List of all members
lutok::file_not_found_error Class Reference

File not found error. More...

#include <exceptions.hpp>

Inheritance diagram for lutok::file_not_found_error:
lutok::error

Public Member Functions

 file_not_found_error (const std::string &)
 Constructs a new error. More...
 
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. More...
 
- Public Member Functions inherited from lutok::error
 error (const std::string &)
 Constructs a new error with a plain-text message. More...
 
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: