@@ -54,10 +54,12 @@ /*! * The errno of the error that occurred. */ @property (readonly) 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 @@ -67,10 +69,12 @@ */ + (instancetype)exceptionWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated bind failed exception. * * @param host The host on which binding failed