NLMISC::EFileNotFound Struct Reference

#include <config_file.h>

Inheritance diagram for NLMISC::EFileNotFound:

NLMISC::EConfigFile NLMISC::Exception

Public Member Functions

 EFileNotFound (const std::string &fileName)
virtual const char * what () const throw ()

Protected Attributes

std::string _Reason

Constructor & Destructor Documentation

NLMISC::EFileNotFound::EFileNotFound const std::string &  fileName  )  [inline]
 

Definition at line 339 of file config_file.h.

References NLMISC::smprintf().

00340         {
00341                 static char str[NLMISC::MaxCStringSize];
00342                 smprintf (str, NLMISC::MaxCStringSize, "File \"%s\" not found", fileName.c_str ());
00343                 _Reason = str;
00344         }


Member Function Documentation

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 struct was generated from the following file:
Generated on Tue Mar 16 13:43:51 2004 for NeL by doxygen 1.3.6