@@ -70,12 +70,10 @@ /** * @brief The errno of the error that occurred. */ @property (readonly, nonatomic) int errNo; -+ (instancetype)exception OF_UNAVAILABLE; - /** * @brief Creates a new, autoreleased bind failed exception. * * @param host The host on which binding failed * @param port The port on which binding failed @@ -85,10 +83,12 @@ */ + (instancetype)exceptionWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo; + ++ (instancetype)exception OF_UNAVAILABLE; /** * @brief Creates a new, autoreleased bind failed exception. * * @param port The IPX port to which binding failed @@ -112,12 +112,10 @@ */ + (instancetype)exceptionWithPath: (OFString *)path socket: (id)socket errNo: (int)errNo; -- (instancetype)init OF_UNAVAILABLE; - /** * @brief Initializes an already allocated bind failed exception. * * @param host The host on which binding failed * @param port The port on which binding failed @@ -152,8 +150,10 @@ * @return An initialized bind failed exception */ - (instancetype)initWithPath: (OFString *)path socket: (id)socket errNo: (int)errNo; + +- (instancetype)init OF_UNAVAILABLE; @end OF_ASSUME_NONNULL_END