17 #import "OFException.h"
19 #ifndef OF_HAVE_SOCKETS
20 # error No sockets available!
35 #ifdef OF_HAVE_PROPERTIES
36 @property (readonly, retain)
id socket;
45 + (instancetype)exceptionWithSocket: (
id)socket;
53 - initWithSocket: (
id)socket;
The base class for all exceptions in ObjFW.
Definition: OFException.h:144
An exception indicating an attempt to connect or bind an already connected or bound socket...
Definition: OFAlreadyConnectedException.h:30