Public Member Functions | Static Public Member Functions | Properties

OFReadOrWriteFailedException Class Reference

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

#import <OFReadOrWriteFailedException.h>

Inheritance diagram for OFReadOrWriteFailedException:
OFException OFObject <OFObject> OFReadFailedException OFWriteFailedException

List of all members.

Public Member Functions

(id) - initWithClass:stream:requestedSize:
(OFStream *) - stream
(size_t) - requestedSize
(int) - errNo

Static Public Member Functions

(id) + newWithClass:stream:requestedSize:

Properties

OFStreamstream
size_t requestedSize
int errNo

Detailed Description

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


Member Function Documentation

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

Initializes an already allocated read or write failed exception.

Parameters:
class_ The class of the object which caused the exception
stream The stream which caused the read or write failed 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_
stream: (OFStream*)  stream
requestedSize: (size_t)  size 
Parameters:
class_ The class of the object which caused the exception
stream The stream which caused the read or write failed 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
- (OFStream*) stream  
Returns:
The stream which caused the read or write failed exception

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