Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

IOError Class Reference

Exception class for I/O errors. More...

#include <Err.h>

Inheritance diagram for rs::err::IOError:

Inheritance graph
[legend]
Collaboration diagram for IOError:

Collaboration graph
[legend]
List of all members.

Public Methods

 IOError (const std::string &filename)
 IOError (const std::string &filename, const std::string &IO_command)
virtual ~IOError () throw ()

Detailed Description

Exception class for I/O errors.

Definition at line 170 of file Err.h.


Constructor & Destructor Documentation

IOError const std::string &    filename
 

Create a new I/O error.

Example: IOError("my.txt") gives sth like "permission denied ('my.txt')"

Parameters:
filename  Name of the file for which an I/O operation failed.

Definition at line 188 of file Err.cpp.

IOError const std::string &    filename,
const std::string &    IO_command
 

Create a new I/O error.

Example: IOError("my.txt", "unlink") gives sth like "permission denied for unlink('my.txt')"

Parameters:
filename  Name of the file for which an I/O operation failed.
IO_command  Name of the failed IO_command

Definition at line 196 of file Err.cpp.

virtual ~IOError   throw () [inline, virtual]
 

Definition at line 189 of file Err.h.


The documentation for this class was generated from the following files:
Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen