20#import "OFConnectSocketFailedException.h"
22OF_ASSUME_NONNULL_BEGIN
31OF_SUBCLASSING_RESTRICTED
41@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
host;
46@property (readonly, nonatomic) uint16_t port;
57+ (instancetype)exceptionWithHost: (
OFString *)host
62+ (instancetype)exceptionWithSocket: (
id)socket
63 errNo: (
int)errNo OF_UNAVAILABLE;
74- (instancetype)initWithHost: (
OFString *)host
77 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
79- (instancetype)initWithSocket: (
id)socket errNo: (
int)errNo OF_UNAVAILABLE;
An exception indicating that an IP connection could not be established.
Definition OFConnectIPSocketFailedException.h:33
OFString * host
The host to which the connection failed.
Definition OFConnectIPSocketFailedException.h:41
An exception indicating that a connection could not be established.
Definition OFConnectSocketFailedException.h:37
A class for handling strings.
Definition OFString.h:143