FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::FileNotFound Class Reference

File-Not-Found exception. More...

#include <exception.hpp>

Inheritance diagram for FEAT::FileNotFound:
FEAT::FileError FEAT::Exception

Public Member Functions

 FileNotFound (const String &filename)
 Constructor. More...
 
const String message () const
 returns error message More...
 
virtual const char * what () const noexcept override
 return descriptive exception name More...
 

Private Attributes

const String _message
 descriptive error message More...
 

Detailed Description

File-Not-Found exception.

This exception is thrown when a file was not found.

Author
Peter Zajac

Definition at line 196 of file exception.hpp.

Constructor & Destructor Documentation

◆ FileNotFound()

FEAT::FileNotFound::FileNotFound ( const String filename)
inlineexplicit

Constructor.

Parameters
[in]filenameThe name (and path) of the file that was not found.

Definition at line 205 of file exception.hpp.

◆ ~FileNotFound()

virtual FEAT::FileNotFound::~FileNotFound ( )
inlinevirtualnoexcept

Definition at line 209 of file exception.hpp.

Member Function Documentation

◆ message()

const String FEAT::Exception::message ( ) const
inlineinherited

returns error message

Definition at line 73 of file exception.hpp.

References FEAT::Exception::_message.

◆ what()

virtual const char * FEAT::Exception::what ( ) const
inlineoverridevirtualnoexceptinherited

return descriptive exception name

Reimplemented in FEAT::Xml::Error.

Definition at line 79 of file exception.hpp.

References FEAT::Exception::_message.

Member Data Documentation

◆ _message

const String FEAT::Exception::_message
privateinherited

descriptive error message

Definition at line 30 of file exception.hpp.

Referenced by FEAT::Exception::message(), and FEAT::Exception::what().


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