Logo
~Sockets~
~Examples~
~Contact~


Exception Class Reference

#include <Exception.h>

List of all members.


Public Member Functions

 Exception (const std::string &description)
virtual ~Exception ()
virtual const std::string ToString () const
virtual const std::string Stack () const
 Exception (const Exception &)
Exceptionoperator= (const Exception &)

Private Attributes

std::string m_description
std::string m_stack

Detailed Description

Definition at line 43 of file Exception.h.


Constructor & Destructor Documentation

Exception::Exception ( const std::string &  description  ) 

Definition at line 43 of file Exception.cpp.

00043                                                  : m_description(description)
00044 , m_stack(Utility::Stack())
00045 {
00046 }

virtual Exception::~Exception (  )  [inline, virtual]

Definition at line 47 of file Exception.h.

00047 {}

Exception::Exception ( const Exception  )  [inline]

Definition at line 52 of file Exception.h.

00052 {} // copy constructor


Member Function Documentation

const std::string Exception::ToString (  )  const [virtual]

Definition at line 49 of file Exception.cpp.

References m_description.

00050 {
00051         return m_description;
00052 }

const std::string Exception::Stack (  )  const [virtual]

Definition at line 55 of file Exception.cpp.

References m_stack.

00056 {
00057         return m_stack;
00058 }

Exception& Exception::operator= ( const Exception  )  [inline]

Definition at line 54 of file Exception.h.

00054 { return *this; } // assignment operator


Member Data Documentation

std::string Exception::m_description [private]

Definition at line 57 of file Exception.h.

Referenced by ToString().

std::string Exception::m_stack [private]

Definition at line 58 of file Exception.h.

Referenced by Stack().


The documentation for this class was generated from the following files:
Page, code, and content Copyright (C) 2007 by Anders Hedström
Generated for C++ Sockets by  doxygen 1.4.4