@@ -48,10 +48,12 @@ /*! * The errno of the error that occurred. */ @property (readonly) int errNo; ++ (instancetype)exception OF_UNAVAILABLE; + /*! * @brief Creates a new, autoreleased change permissions failed exception. * * @param path The path of the item * @param permissions The new permissions for the item @@ -59,10 +61,12 @@ * @return A new, autoreleased change permissions failed exception */ + (instancetype)exceptionWithPath: (OFString *)path permissions: (mode_t)permissions errNo: (int)errNo; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated change permissions failed exception. * * @param path The path of the item