tException Class Reference

Base class for all exceptions. More...

#include <tException.h>

Inheritance diagram for tException:

Inheritance graph
[legend]

List of all members.

Public Member Functions

tString GetName () const
 returns the name of the exception
tString GetDescription () const
 returns a detailed description

Protected Member Functions

virtual ~tException ()
 destructor

Private Member Functions

virtual tString DoGetName () const =0
 returns the name of the exception
virtual tString DoGetDescription () const
 returns a detailed description


Detailed Description

Base class for all exceptions.

Definition at line 35 of file tException.h.


Constructor & Destructor Documentation

tException::~tException ( void   )  [protected, virtual]

destructor

Definition at line 70 of file tException.cpp.

00071 {
00072 }


Member Function Documentation

tString tException::GetName ( void   )  const

returns the name of the exception

Returns:
the name of the exception

Definition at line 41 of file tException.cpp.

References DoGetName().

Referenced by ANET_ListenOn(), uMenu::HandleEvent(), nDescriptor::HandleMessage(), main(), and sn_Listen().

00042 {
00043     return DoGetName();
00044 }

Here is the call graph for this function:

Here is the caller graph for this function:

tString tException::GetDescription ( void   )  const

returns a detailed description

Returns:
detailed description of the exception

Definition at line 56 of file tException.cpp.

References DoGetDescription().

Referenced by ANET_ListenOn(), uMenu::HandleEvent(), nDescriptor::HandleMessage(), tConfItemBase::LoadAll(), main(), and sn_Listen().

00057 {
00058     return DoGetDescription();
00059 }

Here is the call graph for this function:

Here is the caller graph for this function:

tString tException::DoGetName ( void   )  const [private, pure virtual]

returns the name of the exception

Returns:
the name of the exception

Implemented in nKillHim, nIgnore, nSocket::PermanentError, rExceptionGLEW, tAbortLoading, and tGenericException.

Definition at line 84 of file tException.cpp.

Referenced by DoGetDescription(), and GetName().

00085 {
00086     return tString("tException");
00087 }

Here is the caller graph for this function:

tString tException::DoGetDescription ( void   )  const [private, virtual]

returns a detailed description

Returns:
detailed description of the exception

Reimplemented in nKillHim, nIgnore, nSocket::PermanentError, rExceptionGLEW, tAbortLoading, and tGenericException.

Definition at line 99 of file tException.cpp.

References DoGetName().

Referenced by GetDescription().

00100 {
00101     // fallback
00102     return DoGetName();
00103 }

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:56:32 2008 for Armagetron Advanced by  doxygen 1.5.4