Logo
~Sockets~
~Examples~
~Contact~


Exception Class Reference

#include <Exception.h>

Inheritance diagram for Exception:

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 45 of file Exception.h.


Constructor & Destructor Documentation

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

Definition at line 45 of file Exception.cpp.

00045                                                  : m_description(description)
00046 , m_stack(Utility::Stack())
00047 {
00048 }

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

Definition at line 49 of file Exception.h.

00049 {}

Exception::Exception ( const Exception  )  [inline]

Definition at line 54 of file Exception.h.

00054 {} // copy constructor


Member Function Documentation

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

Definition at line 51 of file Exception.cpp.

References m_description.

00052 {
00053         return m_description;
00054 }

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

Definition at line 57 of file Exception.cpp.

References m_stack.

00058 {
00059         return m_stack;
00060 }

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

Definition at line 56 of file Exception.h.

00056 { return *this; } // assignment operator


Member Data Documentation

std::string Exception::m_description [private]

Definition at line 59 of file Exception.h.

Referenced by ToString().

std::string Exception::m_stack [private]

Definition at line 60 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