17 #import "OFException.h" 19 #ifndef OF_HAVE_SOCKETS 20 # error No sockets available! 23 OF_ASSUME_NONNULL_BEGIN
40 @property OF_NULLABLE_PROPERTY (
readonly, nonatomic)
id socket;
48 + (instancetype)exceptionWithSocket: (nullable
id)socket;
56 - initWithSocket: (nullable
id)socket OF_DESIGNATED_INITIALIZER;
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
An exception indicating an attempt to connect or bind an already connected or bound socket...
Definition: OFAlreadyConnectedException.h:32
readonly
Definition: OFAlreadyConnectedException.h:40