LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Public Member Functions | Private Attributes | List of all members
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. More...
 
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.

Member Function Documentation

◆ what()

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

Definition at line 29 of file lf_exception.h.

References what_.

Member Data Documentation

◆ what_

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

Definition at line 34 of file lf_exception.h.

Referenced by what().


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