17 #import "OFException.h" 19 #ifndef OF_HAVE_SOCKETS 20 # error No sockets available! 23 OF_ASSUME_NONNULL_BEGIN
49 + (instancetype)exceptionWithHost: (nullable
OFString *)host;
51 + (instancetype)exceptionWithError: (
int)error;
52 + (instancetype)exceptionWithHost: (nullable
OFString *)host
61 - initWithHost: (nullable
OFString *)host;
63 - (instancetype)initWithError: (
int)error;
64 - (instancetype)initWithHost: (nullable
OFString *)host
65 error: (
int)error OF_DESIGNATED_INITIALIZER;
A class for handling strings.
Definition: OFString.h:114
readonly
Definition: OFAddressTranslationFailedException.h:41
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
An exception indicating the translation of an address failed.
Definition: OFAddressTranslationFailedException.h:32