16 #import "OFException.h"
18 OF_ASSUME_NONNULL_BEGIN
30 size_t _requestedLength;
37 @property (readonly, nonatomic)
id object;
42 @property (readonly, nonatomic)
size_t requestedLength;
47 @property (readonly, nonatomic)
int errNo;
49 + (instancetype)exception OF_UNAVAILABLE;
60 + (instancetype)exceptionWithObject: (
id)object
61 requestedLength: (
size_t)requestedLength
64 - (instancetype)init OF_UNAVAILABLE;
75 - (instancetype)initWithObject: (
id)object
76 requestedLength: (
size_t)requestedLength
77 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
The base class for all exceptions in ObjFW.
Definition: OFException.h:147
An exception indicating that reading from or writing to an object failed.
Definition: OFReadOrWriteFailedException.h:28