#include <MathException.hpp>
Inherits std::exception.
Public Member Functions | |
MathException (const std::string &err="", const std::string &funcname="") | |
Constructor with error string and calling function name. | |
MathException (const MathException &e) | |
Copy Constructor. | |
~MathException () throw () | |
Exception destructor. | |
std::string | errorString () const |
Getter for str. | |
virtual const char * | what () const throw () |
Standard exception function overrinding. |
Definition at line 53 of file MathException.hpp.
kn::MathException::MathException | ( | const std::string & | err = "" , |
|
const std::string & | funcname = "" | |||
) |
Constructor with error string and calling function name.
err | Error string | |
funcname | calling function name |
Definition at line 37 of file MathException.cpp.
kn::MathException::MathException | ( | const MathException & | e | ) |
kn::MathException::~MathException | ( | ) | throw () [inline] |
std::string kn::MathException::errorString | ( | ) | const [inline] |
virtual const char* kn::MathException::what | ( | ) | const throw () [inline, virtual] |
Standard exception function overrinding.
Definition at line 84 of file MathException.hpp.