#include <Traceable.h>
Public Member Functions | |
Traceable (const std::string &msg="") | |
~Traceable () throw () | |
const std::string & | getMsg () const |
void | printStackTrace (std::ostream &os) const |
Protected Attributes | |
std::string | msg |
Private Types | |
typedef std::vector< std::string > | trace_t |
Private Attributes | |
trace_t | trace |
Definition at line 34 of file Traceable.h.
typedef std::vector<std::string> servlet::Traceable::trace_t [private] |
Definition at line 39 of file Traceable.h.
servlet::Traceable::Traceable | ( | const std::string & | msg = "" |
) |
servlet::Traceable::~Traceable | ( | ) | throw () |
Definition at line 93 of file Tracleable.cpp.
const std::string& servlet::Traceable::getMsg | ( | ) | const [inline] |
Definition at line 45 of file Traceable.h.
References msg.
Referenced by printStackTrace(), and container::CServDemon::run().
void servlet::Traceable::printStackTrace | ( | std::ostream & | os | ) | const |
Definition at line 105 of file Tracleable.cpp.
References getMsg(), and trace.
Referenced by container::ServletContainer::invalidRequest(), container::CServDemon::run(), container::ServletContainer::service(), container::serverconfig::GlobalContext::setListener(), and container::RequestHandler::taskFunction().
std::string servlet::Traceable::msg [protected] |
trace_t servlet::Traceable::trace [private] |