Instances of this class are thrown if an error occurs in MessageHub.
More...
#include <message_hub.h>
|
| | Error (const char *msg, ErrorIds errorId) |
| |
| ErrorIds | get_message_hub_error_id () |
| |
| const std::string & | get_file (size_t i) const |
| | returns the file where a message occured
|
| |
| unsigned long | get_line (size_t i) const |
| | returns the line where a message occured
|
| |
| const std::string & | get_msg () const |
| | returns the initial message
|
| |
| const std::string & | get_msg (size_t i) const |
| | returns a message in the message-stack (innermost is first)
|
| |
| std::string | get_stacktrace () const |
| |
| size_t | num_msg () const |
| | number of messages in message-stack
|
| |
| void | push_msg (const char *msg, const char *file=" -- no file -- ", const unsigned long line=0) |
| | adds a message to the message stack
|
| |
| void | push_msg (const std::string &msg, const char *file=" -- no file -- ", const unsigned long line=0) |
| | adds a message to the message stack
|
| |
| | UGError (const char *msg, const char *file=" -- no file -- ", const unsigned long line=0) |
| |
| | UGError (const std::string &msg, const char *file=" -- no file -- ", const unsigned long line=0) |
| |
| | UGError (const std::string &msg, const std::exception &ex, const char *file, const unsigned long line) |
| |
| virtual | ~UGError () |
| | virtual destructor
|
| |
Instances of this class are thrown if an error occurs in MessageHub.
This class derives from UGError. Use MessageHub::Error::get_message_hub_error_id() to get a more information on what caused the error.
◆ Error()
| ug::MessageHub::Error::Error |
( |
const char * |
msg, |
|
|
ErrorIds |
errorId |
|
) |
| |
|
inline |
◆ get_message_hub_error_id()
| ErrorIds ug::MessageHub::Error::get_message_hub_error_id |
( |
| ) |
|
|
inline |
◆ m_errorId
| ErrorIds ug::MessageHub::Error::m_errorId |
|
protected |
The documentation for this class was generated from the following file: