codac  1.5.7
Public Member Functions | List of all members
codac::Exception Class Reference

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

#include <codac_Exception.h>

Inheritance diagram for codac::Exception:
Inheritance graph
[legend]

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. More...
 
 ~Exception () throw ()
 Exception destructor.
 
virtual const char * what () const throw ()
 Returns the exception message. More...
 

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: