#include <Err.h>
Inheritance diagram for rs::err::Error:
Public Methods | |
Error (bool real_error_, const std::string &s) | |
Error (const std::string &s) | |
Error (bool real_error_, const char *s) | |
Error (const char *s) | |
virtual | ~Error () throw () |
virtual void | print (std::ostream &out) const |
virtual std::string | get_print_message () const |
virtual const char * | what () const throw () |
const char * | get_message () const |
Static Public Methods | |
std::string | set_module_name (const std::string &new_module_name) |
Protected Attributes | |
std::string | error_module |
bool | real_error |
Static Protected Attributes | |
std::string | module_name = "<unknown>" |
Friends | |
void | reThrow (const exception &e) |
Definition at line 44 of file Err.h.
|
Create a new error.
Definition at line 38 of file Err.cpp. Referenced by InfoError::InfoError(), and StringError::StringError(). |
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Create a new error.
|
|
Create a new error. |
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Create a new error.
|
|
|
|
Print error message.
Reimplemented in InfoError, and StringError. |
|
Get error message as it would be printed by print.
Reimplemented in InternalError. Definition at line 161 of file Err.cpp. Referenced by Error::print(). |
|
Get plain error message
Definition at line 88 of file Err.h. Referenced by Error::get_message(), InternalError::get_print_message(), and Error::get_print_message(). |
|
Get plain error message.
|
|
Changes the module name shown in error messages.
|
|
|
|
Definition at line 46 of file Err.h. Referenced by InternalError::get_print_message(), and Error::get_print_message(). |
|
Definition at line 29 of file Err.cpp. Referenced by InternalError::get_print_message(), and Error::set_module_name(). |
|
|
Contact me in case of errors or questions. This documentation is powered by ![]() |
(C) 2000-2002 ![]() |