LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
lf::base::LfException Class Reference

A simple, general purpose exception class that is thrown by LehrFEM++ if something is wrong. More...

#include <lf/base/lf_exception.h>

Inheritance diagram for lf::base::LfException:

Public Member Functions

 LfException (std::string what)
 Create a new LfException with an error message.
 
char const * what () const noexcept override
 

Private Attributes

std::string what_
 

Detailed Description

A simple, general purpose exception class that is thrown by LehrFEM++ if something is wrong.

Definition at line 21 of file lf_exception.h.

Constructor & Destructor Documentation

◆ LfException()

lf::base::LfException::LfException ( std::string what)
inlineexplicit

Create a new LfException with an error message.

Parameters
what

Definition at line 27 of file lf_exception.h.

References what(), and what_.

Member Function Documentation

◆ what()

char const * lf::base::LfException::what ( ) const
inlinenodiscardoverridenoexcept

Definition at line 29 of file lf_exception.h.

References what_.

Referenced by LfException().

Member Data Documentation

◆ what_

std::string lf::base::LfException::what_
private

Definition at line 34 of file lf_exception.h.

Referenced by LfException(), and what().


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