xyzzy::TException Class Reference

#include <exception.hxx>

Inheritance diagram for xyzzy::TException:

anvil::XValueException xyzzy::TArray::IndexOutOfBoundsException xyzzy::TDynamicCastException xyzzy::TNullPointerException xyzzy::TSocket::Exception List of all members.

Public Member Functions

 TException ()
 TException (const char *reason)
const char * getReason () const
void print () const
virtual ~TException ()

Protected Attributes

const char * m_reason

Static Private Attributes

static const char *const stNoReason

Detailed Description

Base class for all exceptions.


Constructor & Destructor Documentation

xyzzy::TException::TException (  )  [inline, explicit]

Default constructor.

xyzzy::TException::TException ( const char *  reason  )  [inline, explicit]

More specific constructor.

Parameters:
reason detail of exception.

xyzzy::TException::~TException (  )  [virtual]


Member Function Documentation

const char* xyzzy::TException::getReason (  )  const [inline]

void xyzzy::TException::print (  )  const

Print getReason() to cerr.


Member Data Documentation

const char* xyzzy::TException::m_reason [protected]

Detail of exception.

const char *const xyzzy::TException::stNoReason [static, private]


The documentation for this class was generated from the following files:
Generated on Thu Mar 22 13:51:08 2007 for anvil by  doxygen 1.5.1