#include <errorbase.h>
Public Member Functions | |
ErrorBase () | |
Creates an instance without an explicit object name. | |
ErrorBase (const std::string &objName) | |
Creates an instance with the object name set to objName . | |
std::string | getObjectName () const |
Returns the stored object name. | |
std::string | getErrorString () const |
Returns the currently stored error message. | |
Protected Member Functions | |
void | setErrorString (const std::string &str) const |
Derived classes can use this member function to store an error message. |