libMesh::FileError Class Reference

#include <libmesh_exceptions.h>

Inheritance diagram for libMesh::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 "libmesh_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 libmesh_exceptions.h.

Constructor & Destructor Documentation

libMesh::FileError::FileError ( const std::string &  filename)

Definition at line 72 of file libmesh_exceptions.h.

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

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