An exception indicating a read or write to a stream failed.
More...
#include <OFReadOrWriteFailedException.h>
List of all members.
Detailed Description
An exception indicating a read or write to a stream failed.
Member Function Documentation
int OFReadOrWriteFailedException::errNo |
( |
| ) |
[virtual] |
- Returns:
- The errno from when the exception was created
id OFReadOrWriteFailedException::initWithClass:stream:requestedSize: |
( |
Class |
class_, |
|
|
[stream] OFStream* |
stream, |
|
|
[requestedSize] size_t |
size |
|
) |
| [virtual] |
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 OFReadOrWriteFailedException::newWithClass:stream:requestedSize: |
( |
Class |
class_, |
|
|
[stream] OFStream* |
stream, |
|
|
[requestedSize] size_t |
size |
|
) |
| [static, virtual] |
- 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 OFReadOrWriteFailedException::requestedSize |
( |
| ) |
[virtual] |
- Returns:
- The requested size of the data that couldn't be read / written
OFStream* OFReadOrWriteFailedException::stream |
( |
| ) |
[virtual] |
- Returns:
- The stream which caused the read or write failed exception
The documentation for this class was generated from the following files: