queso-0.53.0
Public Member Functions | List of all members
QUESO::FileError Class Reference

#include <exceptions.h>

Inheritance diagram for QUESO::FileError:
Inheritance graph
[legend]
Collaboration diagram for QUESO::FileError:
Collaboration graph
[legend]

Public Member Functions

 FileError (const std::string &filename)
 

Detailed Description

A class representing a failed attempt by the library to open a file (or construct an fstream, etc), to be thrown by "queso_file_error(filename);" For ease of debugging, "filename" should include any (absolute or relative or implicit) pathname that was part of the failed open.

Definition at line 65 of file exceptions.h.

Constructor & Destructor Documentation

QUESO::FileError::FileError ( const std::string &  filename)
inline

Definition at line 68 of file exceptions.h.

68 : std::runtime_error( "Error accessing file: " + filename ) {}

The documentation for this class was generated from the following file:

Generated on Thu Jun 11 2015 13:52:34 for queso-0.53.0 by  doxygen 1.8.5