#include <Exception.hpp>
Public Member Functions | |
MathException (std::string msg=std::string("MathException: An exception has ocurred!")) |
An exception which is thrown because of mathematical errors, e.g. attempted division by zero.
imaging::MathException::MathException | ( | std::string | msg = std::string("MathException: An exception has ocurred!") |
) | [inline] |
Constructor. The user can pass a custom error message.