16 #import "OFConnectSocketFailedException.h"
18 OF_ASSUME_NONNULL_BEGIN
28 OF_SUBCLASSING_RESTRICTED
38 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
host;
43 @property (readonly, nonatomic) uint16_t port;
54 + (instancetype)exceptionWithHost: (
OFString *)host
59 + (instancetype)exceptionWithSocket: (
id)socket
60 errNo: (
int)errNo OF_UNAVAILABLE;
71 - (instancetype)initWithHost: (
OFString *)host
74 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
76 - (instancetype)initWithSocket: (
id)socket errNo: (
int)errNo OF_UNAVAILABLE;
An exception indicating that an IP connection could not be established.
Definition: OFConnectIPSocketFailedException.h:30
OFString * host
The host to which the connection failed.
Definition: OFConnectIPSocketFailedException.h:38
An exception indicating that a connection could not be established.
Definition: OFConnectSocketFailedException.h:34
A class for handling strings.
Definition: OFString.h:135