wibble 0.1.28
|
Base class for exceptions for file I/O. More...
#include <exception.h>
Public Member Functions | |
File (const std::string &name, const std::string &context) throw () | |
~File () throw () | |
virtual const char * | type () const throw () |
Get a string tag identifying the exception type. | |
virtual std::string | desc () const throw () |
Get the description of the error code. | |
Protected Attributes | |
std::string | m_name |
Base class for exceptions for file I/O.
It is a direct child of SystemException, and has the very same semantics. Like in SystemException, the error code description provided is a description for errno values.
wibble::exception::File::File | ( | const std::string & | name, |
const std::string & | context | ||
) | throw () [inline] |
wibble::exception::File::~File | ( | ) | throw () [inline] |
virtual std::string wibble::exception::File::desc | ( | ) | const throw () [inline, virtual] |
Get the description of the error code.
Reimplemented from wibble::exception::System.
References wibble::exception::ValOutOfRange< C >::desc().
virtual const char* wibble::exception::File::type | ( | ) | const throw () [inline, virtual] |
Get a string tag identifying the exception type.
Reimplemented from wibble::exception::System.
std::string wibble::exception::File::m_name [protected] |