@@ -38,10 +38,12 @@ /*! * The errno of the error that occurred. */ @property (readonly) int errNo; ++ (instancetype)exception OF_UNAVAILABLE; + /*! * @brief Creates a new, autoreleased stat item failed exception. * * @param path A string with the path of the item whose status could not be * retrieved @@ -57,10 +59,12 @@ * @param errNo The errno of the error that occurred * @return A new, autoreleased stat item failed exception */ + (instancetype)exceptionWithPath: (OFString *)path errNo: (int)errNo; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated stat item failed exception. * * @param path A string with the path of the item whose status could not be