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

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

Constructor.

Parameters
msgthe exception message
sgpp::base::operation_exception::operation_exception ( std::string  msg)
throw (
)
inlineexplicit

Constructor.

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

Standard Constructor.

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

Destructor.

Member Function Documentation

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

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

the exception message as C string

Referenced by what().

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

the exception message


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