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

Base class for file related errors. More...

#include <exception.hpp>

Inheritance diagram for FEAT::FileError:
FEAT::Exception FEAT::FileNotCreated FEAT::FileNotFound FEAT::Geometry::VoxelMapFileError

Public Member Functions

 FileError (const String &message_in)
 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

Base class for file related errors.

Author
Peter Zajac

Definition at line 171 of file exception.hpp.

Constructor & Destructor Documentation

◆ FileError()

FEAT::FileError::FileError ( const String message_in)
inlineexplicit

Constructor.

Parameters
[in]message_inThe error message.

Definition at line 180 of file exception.hpp.

◆ ~FileError()

virtual FEAT::FileError::~FileError ( )
inlinevirtualnoexcept

Definition at line 184 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: