SG++-Doxygen-Documentation
sgpp::base::generation_exception Class Reference

Exception that is thrown in case of a grid generation failure. More...

#include <generation_exception.hpp>

Inheritance diagram for sgpp::base::generation_exception:

Public Member Functions

 generation_exception (const char *msg) throw ()
 Constructor. More...
 
 generation_exception () throw ()
 Standared Constructor. More...
 
const char * what () const override throw ()
 throw method that have to be implemented More...
 
 ~generation_exception () override throw ()
 Destructor. More...
 

Protected Attributes

const char * msg
 the exception message More...
 

Detailed Description

Exception that is thrown in case of a grid generation failure.

Constructor & Destructor Documentation

◆ generation_exception() [1/2]

sgpp::base::generation_exception::generation_exception ( const char *  msg)
throw (
)
inlineexplicit

Constructor.

Parameters
msgthe exception message

◆ generation_exception() [2/2]

sgpp::base::generation_exception::generation_exception ( )
throw (
)
inline

Standared Constructor.

◆ ~generation_exception()

sgpp::base::generation_exception::~generation_exception ( )
throw (
)
inlineoverride

Destructor.

Member Function Documentation

◆ what()

const char* sgpp::base::generation_exception::what ( ) const
throw (
)
inlineoverride

throw method that have to be implemented

Returns
returns the message specified in the constructor otherwise a general text

References msg.

Member Data Documentation

◆ msg

const char* sgpp::base::generation_exception::msg
protected

the exception message

Referenced by what().


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