#include <exception.hpp>
Inheritance diagram for Arageli::assert_failed:

Public Member Functions | |
| assert_failed (const char *expr_a, const char *source_a, std::size_t line_a) throw () | |
| const char * | expr () const throw () |
| Returns string notation of an expression that has been failed. | |
| const char * | source () const throw () |
| Returns name of source file in which failure has been occured. | |
| std::size_t | line () const throw () |
| Returns a number of line in file source() with failure. | |
| virtual std::string | msg () const |
| Formats a human readable message with source, line and expression. | |
| virtual void | output (std::ostream &out) const |
| Formats and outputs a human readable message with source, line and expression. | |
Holds information about failed expression, line and sourse name where placed the activated assertion.
Definition at line 101 of file exception.hpp.
| Arageli::assert_failed::assert_failed | ( | const char * | expr_a, | |
| const char * | source_a, | |||
| std::size_t | line_a | |||
| ) | throw () [inline] |
Definition at line 106 of file exception.hpp.
| const char* Arageli::assert_failed::expr | ( | ) | const throw () [inline] |
Returns string notation of an expression that has been failed.
Definition at line 117 of file exception.hpp.
| std::size_t Arageli::assert_failed::line | ( | ) | const throw () [inline] |
Returns a number of line in file source() with failure.
Definition at line 123 of file exception.hpp.
| virtual std::string Arageli::assert_failed::msg | ( | ) | const [inline, virtual] |
Formats a human readable message with source, line and expression.
Reimplemented from Arageli::exception.
Definition at line 126 of file exception.hpp.
| void Arageli::assert_failed::output | ( | std::ostream & | out | ) | const [virtual] |
Formats and outputs a human readable message with source, line and expression.
Reimplemented from Arageli::exception.
Definition at line 81 of file exception.cpp.
| const char* Arageli::assert_failed::source | ( | ) | const throw () [inline] |
Returns name of source file in which failure has been occured.
Definition at line 120 of file exception.hpp.
1.4.7