16#import "OFException.h"
18OF_ASSUME_NONNULL_BEGIN
30 size_t _requestedLength;
38@property (readonly, nonatomic)
id object;
43@property (readonly, nonatomic)
size_t requestedLength;
48@property (readonly, nonatomic)
int errNo;
50+ (instancetype)exception OF_UNAVAILABLE;
61+ (instancetype)exceptionWithObject: (
id)object
62 requestedLength: (
size_t)requestedLength
65- (instancetype)init OF_UNAVAILABLE;
76- (instancetype)initWithObject: (
id)object
77 requestedLength: (
size_t)requestedLength
78 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
The base class for all exceptions in ObjFW.
Definition OFException.h:151
An exception indicating that reading from or writing to an object failed.
Definition OFReadOrWriteFailedException.h:28