codac 1.5.6
Loading...
Searching...
No Matches
codac::Exception Class Reference

Root class of all exceptions raised by Codac. More...

#include <codac_Exception.h>

Inheritance diagram for codac::Exception:

Public Member Functions

 Exception (const std::string &function_name, const std::string &custom_message)
 Creates an std::exception related to a C++ function and some custom error message.
 
 ~Exception () throw ()
 Exception destructor.
 
virtual const char * what () const throw ()
 Returns the exception message.
 

Detailed Description

Root class of all exceptions raised by Codac.

Constructor & Destructor Documentation

◆ Exception()

codac::Exception::Exception ( const std::string & function_name,
const std::string & custom_message )

Creates an std::exception related to a C++ function and some custom error message.

Parameters
function_namethe name of the function raising the Exception
custom_messagethe related error message

Member Function Documentation

◆ what()

virtual const char * codac::Exception::what ( ) const
throw ( )
virtual

Returns the exception message.

Returns
exception message

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