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