@@ -38,19 +38,23 @@ /*! * The errno of the error that occurred. */ @property (readonly) int errNo; ++ (instancetype)exception OF_UNAVAILABLE; + /*! * @brief Creates a new, autoreleased remove failed exception. * * @param path The path of the item which could not be removed * @param errNo The errno of the error that occurred * @return A new, autoreleased remove item failed exception */ + (instancetype)exceptionWithPath: (OFString *)path errNo: (int)errNo; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated remove failed exception. * * @param path The path of the item which could not be removed