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

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

#include <tool_exception.hpp>

Inheritance diagram for sgpp::base::tool_exception:

Public Member Functions

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

Protected Attributes

const char * msg
 the exception message More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ tool_exception() [1/2]

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

Constructor.

Parameters
msgthe exception message

◆ tool_exception() [2/2]

sgpp::base::tool_exception::tool_exception ( )
throw (
)
inline

Standard Constructor.

◆ ~tool_exception()

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

Destructor.

Member Function Documentation

◆ what()

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

the exception message

Referenced by what().


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