An exception indicating a read or write to a stream failed.
More...
#import <OFReadOrWriteFailedException.h>
List of all members.
Detailed Description
An exception indicating a read or write to a stream failed.
Member Function Documentation
- Returns:
- The errno from when the exception was created
+ (id) exceptionWithClass: |
|
(Class) |
class_ |
stream: |
|
(OFStream*) |
stream |
requestedLength: |
|
(size_t) |
length |
|
|
| |
- Parameters:
-
class_ | The class of the object which caused the exception |
stream | The stream which caused the read or write failed exception |
length | The requested length of the data that couldn't be read / written |
- Returns:
- A new open file failed exception
- (id) initWithClass: |
|
(Class) |
class_ |
stream: |
|
(OFStream*) |
stream |
requestedLength: |
|
(size_t) |
length |
|
|
| |
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 |
length | The requested length of the data that couldn't be read / written |
- Returns:
- A new open file failed exception
- (size_t) requestedLength |
|
|
|
- Returns:
- The requested length of the data that couldn't be read / written
- Returns:
- The stream which caused the read or write failed exception
The documentation for this class was generated from the following files: