wibble 1.1
|
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. | |
![]() | |
System (const std::string &context) throw () | |
System (int code, const std::string &context) throw () | |
virtual int | code () const throw () |
Get the system error code associated to the exception. | |
![]() | |
Generic () throw () | |
Generic (const std::string &context) throw () | |
virtual | ~Generic () throw () |
virtual const std::string & | fullInfo () const throw () |
Format in a string all available information about the exception. | |
virtual const char * | what () const throw () |
![]() | |
Context () throw () | |
Context (const std::string &context) throw () | |
void | addContext (const std::string &c) throw () |
std::string | formatContext () const throw () |
const std::vector< std::string > & | context () const throw () |
Protected Attributes | |
std::string | m_name |
![]() | |
int | m_errno |
![]() | |
std::string | m_formatted |
![]() | |
std::vector< std::string > | m_context |
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.
|
inline |
|
inline |
|
inlinevirtual |
Get the description of the error code.
Reimplemented from wibble::exception::System.
References wibble::exception::System::desc().
Get a string tag identifying the exception type.
Reimplemented from wibble::exception::System.
|
protected |