@@ -39,10 +39,12 @@ /*! * The errno of the error that occurred. */ @property (readonly) int errNo; ++ (instancetype)exception OF_UNAVAILABLE; + /*! * @brief Creates a new, autoreleased create directory failed exception. * * @param path A string with the path of the directory which could not be * created @@ -49,10 +51,12 @@ * @param errNo The errno of the error that occurred * @return A new, autoreleased create directory failed exception */ + (instancetype)exceptionWithPath: (OFString *)path errNo: (int)errNo; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated create directory failed exception. * * @param path A string with the path of the directory which could not be