SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::factory_exception Class Reference

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

#include <factory_exception.hpp>

Inheritance diagram for sgpp::base::factory_exception:

Public Member Functions

 factory_exception () noexcept
 Standard Constructor.
 
 factory_exception (const char *msg) noexcept
 Constructor.
 
const char * what () const noexcept override
 throw method that have to be implemented
 
 ~factory_exception () noexcept override
 Destructor.
 

Protected Attributes

const char * msg
 the exception message
 

Detailed Description

Exception that is thrown in case of a grid failure.

Constructor & Destructor Documentation

◆ factory_exception() [1/2]

sgpp::base::factory_exception::factory_exception ( const char *  msg)
inlineexplicitnoexcept

Constructor.

Parameters
msgthe exception message

◆ factory_exception() [2/2]

sgpp::base::factory_exception::factory_exception ( )
inlinenoexcept

Standard Constructor.

◆ ~factory_exception()

sgpp::base::factory_exception::~factory_exception ( )
inlineoverridenoexcept

Destructor.

Member Function Documentation

◆ what()

const char * sgpp::base::factory_exception::what ( ) const
inlineoverridenoexcept

throw method that have to be implemented

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

References msg.

Referenced by main().

Member Data Documentation

◆ msg

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

the exception message

Referenced by what().


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