@@ -54,10 +54,12 @@ /*! * The errno of the error that occurred. */ @property (readonly) int errNo; ++ (instancetype)exception OF_UNAVAILABLE; + /*! * @brief Creates a new, autoreleased connection failed exception. * * @param host The host to which the connection failed * @param port The port on the host to which the connection failed @@ -79,10 +81,12 @@ */ + (instancetype)exceptionWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated connection failed exception. * * @param host The host to which the connection failed