rvm 1.08
|
Instance of a single error containing a descriptive error message and the location in the file that the error took place. More...
#include <error.h>
Public Member Functions | |
error_instance () | |
error_instance (const error_instance &a_e) | |
error_instance (const std::string a_what, const std::string a_file, const uint16 a_line) | |
void | clear (void) |
void | set (void) |
void | set (const error_instance &a_e) |
void | set (const std::string a_what, const std::string a_file, const uint16 a_line) |
const std::string | what (void) const |
const std::string | file (void) const |
const uint16 | line (void) const |
error_instance & | operator= (const error_instance &a_e) |
Private Attributes | |
std::string | m_what |
std::string | m_file |
uint16 | m_line |
Instance of a single error containing a descriptive error message and the location in the file that the error took place.
error_instance::error_instance | ( | ) |
error_instance::error_instance | ( | const error_instance & | a_e | ) |
error_instance::error_instance | ( | const std::string | a_what, |
const std::string | a_file, | ||
const uint16 | a_line | ||
) |
void error_instance::clear | ( | void | ) |
Definition at line 58 of file error.cc.
References internal_TRY_nomem, m_file, m_line, and m_what.
Referenced by error_instance(), and set().
const std::string error_instance::file | ( | void | ) | const |
const uint16 error_instance::line | ( | void | ) | const |
error_instance & error_instance::operator= | ( | const error_instance & | a_e | ) |
void error_instance::set | ( | const error_instance & | a_e | ) |
void error_instance::set | ( | void | ) |
void error_instance::set | ( | const std::string | a_what, |
const std::string | a_file, | ||
const uint16 | a_line | ||
) |
const std::string error_instance::what | ( | void | ) | const |
std::string error_instance::m_file [private] |
uint16 error_instance::m_line [private] |
std::string error_instance::m_what [private] |