#include <Exception.hpp>
Public Member Functions | |
Exception (std::string msg=std::string("Exception: An exception has ocurred!")) | |
const std::string & | error_msg () const |
Base class of all exceptions thrown in imaging2. The user can provide a custom error message upon construction of an Exception object.
imaging::Exception::Exception | ( | std::string | msg = std::string("Exception: An exception has ocurred!") |
) | [inline] |
Constructor. The user can pass a custom error message.
const std::string& imaging::Exception::error_msg | ( | ) | const [inline] |
Returns the error message.