# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMISC::Exception Class Reference

Base class for all NeL exception. More...

#include <common.h>

Inheritance diagram for NLMISC::Exception:

NL3D::EBadBind NL3D::EBadDisplay NL3D::EDru NLAIE::IException NLMISC::EAllocationFailure NLMISC::EConfigFile NLMISC::EFatalError NLMISC::EInputDevice NLMISC::EPathNotFound NLMISC::EReallocationFailed NLMISC::ERegistry NLMISC::EStream NLMISC::EThread NLMISC::ETrapDebug NLNET::ESocket NLPACS::EChainQuad NLPACS::EEdgeQuad NLSOUND::ESampleBankNotFound NLSOUND::ESoundBankNotFound NLSOUND::ESoundDriver NLSOUND::ESoundFileNotFound List of all members.

Public Methods

 Exception ()
 Exception (const std::string &reason)
 Exception (const char *format,...)
virtual ~Exception () throw ()
virtual const char * what () const throw ()

Protected Attributes

std::string _Reason

Detailed Description

Base class for all NeL exception.

It enables to construct simple string at the ctor.

Definition at line 268 of file common.h.


Constructor & Destructor Documentation

NLMISC::Exception::Exception  
 

Definition at line 515 of file common.cpp.

Referenced by NLMISC::EAllocationFailure::EAllocationFailure, NL3D::EBadDisplay::EBadDisplay, NL3D::EDru::EDru, NLPACS::EEdgeQuad::EEdgeQuad, NLMISC::EFatalError::EFatalError, NLMISC::EInputDevice::EInputDevice, NLMISC::EPathNotFound::EPathNotFound, NLMISC::EReallocationFailed::EReallocationFailed, NLMISC::ERegistry::ERegistry, NLSOUND::ESampleBankNotFound::ESampleBankNotFound, NLSOUND::ESoundBankNotFound::ESoundBankNotFound, NLSOUND::ESoundDriver::ESoundDriver, NLSOUND::ESoundFileNotFound::ESoundFileNotFound, NLMISC::EStream::EStream, NLMISC::EThread::EThread, and NLAIE::IException::IException.

NLMISC::Exception::Exception const std::string &    reason
 

Definition at line 520 of file common.cpp.

References _Reason, and nlinfo.

NLMISC::Exception::Exception const char *    format,
...   
 

Definition at line 525 of file common.cpp.

References _Reason, format, nlinfo, and NLMISC_CONVERT_VARGS.

virtual NLMISC::Exception::~Exception   throw () [inline, virtual]
 

Definition at line 276 of file common.h.


Member Function Documentation

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

Reimplemented in NL3D::EBadBind.

Definition at line 531 of file common.cpp.

Referenced by NLAIE::IException::IException.


Member Data Documentation

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

Definition at line 271 of file common.h.

Referenced by NLMISC::EBadSize::EBadSize, NLMISC::EBadType::EBadType, NLMISC::EConfigFile::EConfigFile, NLMISC::EFileNotFound::EFileNotFound, NLMISC::EParseError::EParseError, NLMISC::EUnknownVar::EUnknownVar, and Exception.


The documentation for this class was generated from the following files: