@@ -47,11 +47,11 @@ #import "OFInitializationFailedException.h" #import "OFInvalidArgumentException.h" #import "OFInvalidEncodingException.h" #import "OFInvalidFormatException.h" #import "OFNotImplementedException.h" -#import "OFOpenFileFailedException.h" +#import "OFOpenItemFailedException.h" #import "OFOutOfMemoryException.h" #import "OFOutOfRangeException.h" #import "OFTruncatedDataException.h" #import "OFUnsupportedProtocolException.h" @@ -828,11 +828,11 @@ /* Make sure the file system is initialized */ [OFFile class]; if (of_stat(path, &st) != 0) - @throw [OFOpenFileFailedException + @throw [OFOpenItemFailedException exceptionWithPath: path mode: @"rb" errNo: errno]; if (st.st_size > SIZE_MAX)