NLAIE::IException Class Reference

#include <ai_exception.h>

Inheritance diagram for NLAIE::IException:

NLMISC::Exception NLAIE::CExceptionAllReadyExist NLAIE::CExceptionContainer NLAIE::CExceptionIndexError NLAIE::CExceptionIndexHandeledError NLAIE::CExceptionNotImplemented NLAIE::CExceptionObjectNotFoundError NLAIE::CExceptionUnReference NLAIE::CExceptionUnRegisterClassError NLAISCRIPT::CExceptionHaveNoType

Detailed Description

Class abstract to support several standard exception.

Definition at line 49 of file ai_exception.h.

Public Member Functions

virtual const IExceptionclone () const=0
 IException (const std::string &reason)
 IException (const IException &e)
 IException ()
virtual const char * what () const throw ()
virtual ~IException () throw ()

Protected Attributes

std::string _Reason


Constructor & Destructor Documentation

NLAIE::IException::IException  )  [inline]
 

Definition at line 54 of file ai_exception.h.

00055                 {
00056                 }               

NLAIE::IException::IException const IException e  )  [inline]
 

Definition at line 58 of file ai_exception.h.

00058                                                :NLMISC::Exception(e.what())
00059                 {
00060                 }               

NLAIE::IException::IException const std::string &  reason  )  [inline]
 

Definition at line 61 of file ai_exception.h.

00061                                                    : NLMISC::Exception(reason)
00062                 {
00063                 }               

virtual NLAIE::IException::~IException  )  throw () [inline, virtual]
 

Definition at line 65 of file ai_exception.h.

00066                 {
00067                 }


Member Function Documentation

virtual const IException* NLAIE::IException::clone  )  const [pure virtual]
 

Implemented in NLAIE::CExceptionContainer, NLAIE::CExceptionIndexError, NLAIE::CExceptionIndexHandeledError, NLAIE::CExceptionUnRegisterClassError, NLAIE::CExceptionObjectNotFoundError, NLAIE::CExceptionNotImplemented, NLAIE::CExceptionUnReference, NLAIE::CExceptionAllReadyExist, and NLAISCRIPT::CExceptionHaveNoType.

const char * NLMISC::Exception::what  )  const throw () [virtual, inherited]
 

Reimplemented in NL3D::EBadBind.

Definition at line 672 of file common.cpp.

00673 {
00674         return _Reason.c_str();
00675 }


Field Documentation

std::string NLMISC::Exception::_Reason [protected, inherited]
 

Definition at line 244 of file common.h.

Referenced by NLMISC::Exception::Exception().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 10:28:09 2004 for NeL by doxygen 1.3.6