16 #import "OFException.h"
18 #ifndef OF_HAVE_THREADS
19 # error No threads available!
22 OF_ASSUME_NONNULL_BEGIN
46 @property (readonly, nonatomic)
int errNo;
55 + (instancetype)exceptionWithThread: (nullable
OFThread *)thread
65 - (instancetype)initWithThread: (nullable
OFThread *)thread
66 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
68 - (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition: OFException.h:147
An exception indicating that joining a thread failed.
Definition: OFThreadJoinFailedException.h:33
OFThread * thread
The thread which could not be joined.
Definition: OFThreadJoinFailedException.h:41
A class which provides portable threads.
Definition: OFThread.h:63