SG++
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 (const char *msg) throw ()
 Constructor. More...
 
 factory_exception () throw ()
 Standard Constructor. More...
 
const char * what () const override throw ()
 throw method that have to be implemented More...
 
 ~factory_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 failure.

Constructor & Destructor Documentation

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

Constructor.

Parameters
msgthe exception message
sgpp::base::factory_exception::factory_exception ( )
throw (
)
inline

Standard Constructor.

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

Destructor.

Member Function Documentation

const char* sgpp::base::factory_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

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: