17 #import "OFException.h"
29 size_t _requestedLength;
33 #ifdef OF_HAVE_PROPERTIES
34 @property (readonly, retain)
id object;
35 @property (readonly)
size_t requestedLength;
36 @property (readonly)
int errNo;
47 + (instancetype)exceptionWithObject: (
id)object
48 requestedLength: (
size_t)requestedLength;
59 + (instancetype)exceptionWithObject: (
id)object
60 requestedLength: (
size_t)requestedLength
71 - initWithObject: (
id)object
72 requestedLength: (
size_t)requestedLength;
83 - initWithObject: (
id)object
84 requestedLength: (
size_t)requestedLength
100 - (size_t)requestedLength;
An exception indicating that reading from or writing to an object failed.
Definition: OFReadOrWriteFailedException.h:26
The base class for all exceptions in ObjFW.
Definition: OFException.h:144