20#import "OFConnectSocketFailedException.h"
22OF_ASSUME_NONNULL_BEGIN
32OF_SUBCLASSING_RESTRICTED
42@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
host;
47@property (readonly, nonatomic) uint16_t port;
58+ (instancetype)exceptionWithHost: (
OFString *)host
63+ (instancetype)exceptionWithSocket: (
id)socket
64 errNo: (
int)errNo OF_UNAVAILABLE;
75- (instancetype)initWithHost: (
OFString *)host
78 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
80- (instancetype)initWithSocket: (
id)socket errNo: (
int)errNo OF_UNAVAILABLE;
An exception indicating that an IP connection could not be established.
Definition OFConnectIPSocketFailedException.h:34
OFString * host
The host to which the connection failed.
Definition OFConnectIPSocketFailedException.h:42
An exception indicating that a connection could not be established.
Definition OFConnectSocketFailedException.h:38
A class for handling strings.
Definition OFString.h:139