23 OF_ASSUME_NONNULL_BEGIN
33 id <OFLocking> _Nullable _lock;
41 @property OF_NULLABLE_PROPERTY (readonly, nonatomic) id <OFLocking> lock;
46 @property (readonly, nonatomic)
int errNo;
55 + (instancetype)exceptionWithLock: (nullable
id <
OFLocking>)lock
65 - (instancetype)initWithLock: (nullable
id <
OFLocking>)lock
66 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
An exception indicating that locking a lock failed.
Definition: OFLockFailedException.h:31
The base class for all exceptions in ObjFW.
Definition: OFException.h:156