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

Exception that is thrown in case of a solver operation failure. More...

#include <solver_exception.hpp>

Inheritance diagram for sgpp::base::solver_exception:

Public Member Functions

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

Protected Attributes

const char * msg
 the exception message More...
 

Detailed Description

Exception that is thrown in case of a solver operation failure.

Constructor & Destructor Documentation

◆ solver_exception() [1/2]

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

Constructor.

Parameters
msgthe exception message

◆ solver_exception() [2/2]

sgpp::base::solver_exception::solver_exception ( )
throw (
)
inline

Standard Constructor.

◆ ~solver_exception()

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

Destructor.

Member Function Documentation

◆ what()

const char* sgpp::base::solver_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::solver_exception::msg
protected

the exception message

Referenced by what().


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