wibble::exception::File Class Reference

#include <exception.h>

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

List of all members.


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.

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


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 const char* wibble::exception::File::type (  )  const throw () [inline, virtual]

Get a string tag identifying the exception type.

Reimplemented from wibble::exception::System.

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::System::desc().


Member Data Documentation

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


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

Generated on Wed Jun 18 15:19:16 2008 for wibble by  doxygen 1.5.6