Logo
~Apps~
~Projects~
~Contact~


Exception Class Reference

Exception handling base class. More...

#include <Exception.h>

Inheritance diagram for Exception:

Inheritance graph
[legend]
Collaboration diagram for Exception:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Exception (const std::string &t)
const std::string & GetText () const

Protected Member Functions

 Exception (const Exception &e)
Exceptionoperator= (const Exception &)

Private Attributes

std::string m_t

Detailed Description

Exception handling base class.

File ......... Exception.h Published .... 2005-06-14 Author ....... grymse@alhem.net

Definition at line 31 of file Exception.h.


Constructor & Destructor Documentation

Exception::Exception ( const std::string &  t  )  [inline]

Definition at line 34 of file Exception.h.

00034 : m_t(t) {}

Exception::Exception ( const Exception e  )  [inline, protected]

Definition at line 39 of file Exception.h.

00039 : m_t(e.GetText()) {} // copy constructor


Member Function Documentation

const std::string& Exception::GetText (  )  const [inline]

Definition at line 36 of file Exception.h.

References m_t.

Referenced by MetainfoSocket::InitSession(), main(), tSocket::OnDelete(), and validate().

00036 { return m_t; }

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

Definition at line 40 of file Exception.h.

00040 { return *this; } // assignment operator


Member Data Documentation

std::string Exception::m_t [private]

Definition at line 43 of file Exception.h.

Referenced by GetText().


The documentation for this class was generated from the following file:
Page, code, and content Copyright (C) 2006 by Anders Hedström
Generated on Mon Aug 29 20:21:47 2005 for C++ Sockets by  doxygen 1.4.4