NLAIE::CExceptionContainer Class Reference

#include <ai_exception.h>

Inheritance diagram for NLAIE::CExceptionContainer:

NLAIE::IException NLMISC::Exception

Detailed Description

Class allow to spread an ather exepton, it is used in multible block try/catch when user want to spread the original exeption.

Definition at line 73 of file ai_exception.h.

Public Member Functions

 CExceptionContainer (const std::string &name)
 CExceptionContainer (const CExceptionContainer &exc)
virtual const IExceptionclone () const
virtual const char * what () const throw ()
virtual ~CExceptionContainer () throw ()

Protected Attributes

std::string _Reason


Constructor & Destructor Documentation

NLAIE::CExceptionContainer::CExceptionContainer const CExceptionContainer exc  ) 
 

Definition at line 93 of file agent_init.cpp.

Referenced by clone().

00093                                                                             :IException(e)
00094         {               
00095         }

NLAIE::CExceptionContainer::CExceptionContainer const std::string &  name  ) 
 

Definition at line 97 of file agent_init.cpp.

00097                                                                      :IException(name)
00098         {
00099         }

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

Definition at line 81 of file ai_exception.h.

00082                 {                       
00083                 }


Member Function Documentation

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

Implements NLAIE::IException.

Definition at line 100 of file agent_init.cpp.

References CExceptionContainer().

00101         {
00102                 return new CExceptionContainer(*this);
00103         }

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 files:
Generated on Tue Mar 16 10:27:49 2004 for NeL by doxygen 1.3.6