queso-0.57.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
QUESO::FileError Class Reference

#include <exceptions.h>

Inheritance diagram for QUESO::FileError:

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 69 of file exceptions.h.

Constructor & Destructor Documentation

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

Definition at line 72 of file exceptions.h.

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

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

Generated on Tue Jun 5 2018 19:49:06 for queso-0.57.1 by  doxygen 1.8.5