wibble::exception::File Class Reference

Base class for exceptions for file I/O. More...

#include <exception.h>

Inheritance diagram for wibble::exception::File:
[legend]
Collaboration diagram for wibble::exception::File:
[legend]

List of all members.

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


Detailed Description

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.


Constructor & Destructor Documentation

wibble::exception::File::File ( const std::string &  name,
const std::string &  context 
) throw () [inline]

wibble::exception::File::~File (  )  throw () [inline]


Member Function Documentation

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.


Member Data Documentation

std::string wibble::exception::File::m_name [protected]


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

Generated on Fri Jun 12 05:16:53 2009 for wibble by  doxygen 1.5.9