17 #import "OFException.h"
19 #ifndef OF_HAVE_SOCKETS
20 # error No sockets available!
36 #ifdef OF_HAVE_PROPERTIES
37 @property (readonly, copy)
OFString *host;
46 + (instancetype)exceptionWithHost: (
OFString*)host;
48 + (instancetype)exceptionWithHost: (
OFString*)host
50 + (instancetype)exceptionWithError: (
int)error;
62 - initWithError: (
int)error;
A class for handling strings.
Definition: OFString.h:91
An exception indicating the translation of an address failed.
Definition: OFAddressTranslationFailedException.h:30
The base class for all exceptions in ObjFW.
Definition: OFException.h:144