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