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 65 of file libmesh_exceptions.h.

Constructor & Destructor Documentation

◆ FileError()

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

Definition at line 68 of file libmesh_exceptions.h.

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

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