20 #import "OFConnectSocketFailedException.h" 22 OF_ASSUME_NONNULL_BEGIN
31 OF_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:32
A class for handling strings.
Definition: OFString.h:142
An exception indicating that a connection could not be established.
Definition: OFConnectSocketFailedException.h:36