#include <exception.hpp>
Inheritance diagram for Arageli::exception:
Public Types | |
typedef std::list< std::string > | descriptions_type |
Public Member Functions | |
descriptions_type & | descriptions () |
virtual void | add_description (const std::string &desc) |
virtual void | add_location (const std::string &src, std::size_t line, const std::string &desc=std::string()) |
virtual std::string | msg () const |
The message of exception. | |
virtual void | output (std::ostream &out) const |
Outputs the message of exception to out stream. | |
virtual | ~exception () |
Public Attributes | |
exception { | |
} | descriptions_m |
Definition at line 41 of file exception.hpp.
typedef std::list<std::string> Arageli::exception::descriptions_type |
Definition at line 45 of file exception.hpp.
virtual Arageli::exception::~exception | ( | ) | [inline, virtual] |
Definition at line 74 of file exception.hpp.
virtual void Arageli::exception::add_description | ( | const std::string & | desc | ) | [inline, virtual] |
Definition at line 58 of file exception.hpp.
void Arageli::exception::add_location | ( | const std::string & | src, | |
std::size_t | line, | |||
const std::string & | desc = std::string() | |||
) | [virtual] |
Definition at line 46 of file exception.cpp.
descriptions_type& Arageli::exception::descriptions | ( | ) | [inline] |
Definition at line 55 of file exception.hpp.
std::string Arageli::exception::msg | ( | ) | const [virtual] |
The message of exception.
Reimplemented in Arageli::big_int::incorrect_string, Arageli::assert_failed, Arageli::out_of_range, Arageli::invalid_argument, Arageli::division_by_zero, Arageli::matrix_is_singular, Arageli::incorrect_string, and Arageli::ctrl::abort.
Definition at line 66 of file exception.cpp.
virtual void Arageli::exception::output | ( | std::ostream & | out | ) | const [inline, virtual] |
Outputs the message of exception to out stream.
Reimplemented in Arageli::assert_failed.
Definition at line 72 of file exception.hpp.
exception { ... } Arageli::exception::descriptions_m |