#include <angel_exceptions.hpp>
Public Member Functions | |
base_exception (std::string filename, int linenumber, std::string what) | |
Save file name, line number and reason of exception. | |
void | say_reason () |
Write file name, line number and reason to cerr. | |
const std::string & | what_reason () const |
return file name, line number and reason as string | |
Protected Attributes | |
std::string | reason |
Definition at line 12 of file angel_exceptions.hpp.
angel::base_exception::base_exception | ( | std::string | filename, | |
int | linenumber, | |||
std::string | what | |||
) | [inline] |
Save file name, line number and reason of exception.
Definition at line 17 of file angel_exceptions.hpp.
References reason.
void angel::base_exception::say_reason | ( | ) | [inline] |
Write file name, line number and reason to cerr.
Definition at line 22 of file angel_exceptions.hpp.
References reason.
const std::string& angel::base_exception::what_reason | ( | ) | const [inline] |
return file name, line number and reason as string
Definition at line 25 of file angel_exceptions.hpp.
References reason.
std::string angel::base_exception::reason [protected] |
Definition at line 14 of file angel_exceptions.hpp.
Referenced by base_exception(), say_reason(), and what_reason().