|
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. | |
Public Member Functions inherited from wibble::exception::System | |
| 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. | |
Public Member Functions inherited from wibble::exception::Generic | |
| 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 () |
Public Member Functions inherited from wibble::exception::Context | |
| 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 |
Protected Attributes inherited from wibble::exception::System | |
| int | m_errno |
Protected Attributes inherited from wibble::exception::Generic | |
| std::string | m_formatted |
Protected Attributes inherited from wibble::exception::Context | |
| 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 |