@@ -40,19 +40,23 @@ /*! * The errno of the error that occurred. */ @property (readonly) int errNo; ++ (instancetype)exception OF_UNAVAILABLE; + /*! * @brief Creates a new, autoreleased get option failed exception. * * @param stream The stream for which the option could not be gotten * @param errNo The errno of the error that occurred * @return A new, autoreleased get option failed exception */ + (instancetype)exceptionWithStream: (OFStream *)stream errNo: (int)errNo; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated get option failed exception. * * @param stream The stream for which the option could not be gotten