CPPSERV


Home Projects Jobs Clientele Contact
CPPSERV Documentation Download TODO Mailing lists Bug tracker News RSS Feed Browse source

servlet::Traceable Class Reference

#include <Traceable.h>

Inheritance diagram for servlet::Traceable:
Collaboration diagram for servlet::Traceable:

List of all members.


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

Detailed Description

Base for all exceptions

Author:
Ilya A. Volynets-Evenbakh

Definition at line 34 of file Traceable.h.


Member Typedef Documentation

typedef std::vector<std::string> servlet::Traceable::trace_t [private]

Definition at line 39 of file Traceable.h.


Constructor & Destructor Documentation

servlet::Traceable::Traceable ( const std::string &  msg = ""  ) 

Definition at line 33 of file Tracleable.cpp.

References MAX_TRACE, and trace.

servlet::Traceable::~Traceable (  )  throw ()

Definition at line 93 of file Tracleable.cpp.


Member Function Documentation

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


Member Data Documentation

std::string servlet::Traceable::msg [protected]

Definition at line 37 of file Traceable.h.

Referenced by getMsg().

Definition at line 40 of file Traceable.h.

Referenced by printStackTrace(), and Traceable().


The documentation for this class was generated from the following files:

SourceForge.net Logo