file_error Class Reference

#include <calc_error.hpp>

Inheritance diagram for file_error:

calc_error

List of all members.

Public Member Functions

 file_error (std::string const &filename)


Detailed Description

Exception class for failing to open a file. Get the system error and include it in the exception message.

Definition at line 50 of file calc_error.hpp.


Constructor & Destructor Documentation

file_error::file_error ( std::string const &  filename  )  [inline]

Definition at line 52 of file calc_error.hpp.

00052 : calc_error(filename + ": " + std::strerror(errno)) {}


The documentation for this class was generated from the following file:
Generated on Sun Nov 30 10:06:53 2008 for Calculator by  doxygen 1.5.3