OFReadOrWriteFailedException Class Reference

An exception indicating a read or write to a file failed. More...

#import <OFExceptions.h>

Inheritance diagram for OFReadOrWriteFailedException:
OFException OFObject OFReadFailedException OFWriteFailedException

List of all members.

Public Member Functions

(id) - initWithClass:size:
(int) - errNo
(size_t) - requestedSize

Static Public Member Functions

(id) + newWithClass:size:

Protected Attributes

size_t req_size
int err

Detailed Description

An exception indicating a read or write to a file failed.


Member Function Documentation

- (int) errNo  
Returns:
The errno from when the exception was created
- (id) initWithClass: (Class)  class_
size: (size_t)  size 

Initializes an already allocated read or write failed exception.

Parameters:
class_ The class of the object which caused the exception
size The requested size of the data that couldn't be read / written
Returns:
A new open file failed exception
+ (id) newWithClass: (Class)  class_
size: (size_t)  size 
Parameters:
class_ The class of the object which caused the exception
size The requested size of the data that couldn't be read / written
Returns:
A new open file failed exception
- (size_t) requestedSize  
Returns:
The requested size of the data that couldn't be read / written

The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on Sun Mar 14 13:41:06 2010 for ObjFW by  doxygen 1.6.1