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

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

#include <operation_exception.hpp>

Inheritance diagram for sgpp::base::operation_exception:

Public Member Functions

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

Protected Attributes

const char * msg
 the exception message as C string More...
 
std::string stringMsg
 the exception message More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ operation_exception() [1/3]

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

Constructor.

Parameters
msgthe exception message

◆ operation_exception() [2/3]

sgpp::base::operation_exception::operation_exception ( std::string  msg)
throw (
)
inlineexplicit

Constructor.

Parameters
msgthe exception message

◆ operation_exception() [3/3]

sgpp::base::operation_exception::operation_exception ( )
throw (
)
inline

Standard Constructor.

◆ ~operation_exception()

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

Destructor.

Member Function Documentation

◆ what()

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

Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationCreateGraphOCLSingleDevice< T >::create_graph(), and main().

Member Data Documentation

◆ msg

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

the exception message as C string

Referenced by what().

◆ stringMsg

std::string sgpp::base::operation_exception::stringMsg
protected

the exception message


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