#include <tException.h>
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 |
Definition at line 35 of file tException.h.
tException::~tException | ( | void | ) | [protected, virtual] |
tString tException::GetName | ( | void | ) | const |
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 }
tString tException::GetDescription | ( | void | ) | const |
returns a detailed description
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 }
tString tException::DoGetName | ( | void | ) | const [private, pure virtual] |
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 }
tString tException::DoGetDescription | ( | void | ) | const [private, virtual] |
returns a detailed description
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 }