@@ -24,11 +24,11 @@ #import "OFFile.h" #import "OFINICategory.h" #import "OFINICategory+Private.h" #import "OFInvalidFormatException.h" -#import "OFOpenFileFailedException.h" +#import "OFOpenItemFailedException.h" @interface OFINIFile (OF_PRIVATE_CATEGORY) - (void)OF_parseFile: (OFString*)path encoding: (of_string_encoding_t)encoding; @end @@ -139,11 +139,11 @@ OFString *line; @try { file = [OFFile fileWithPath: path mode: @"r"]; - } @catch (OFOpenFileFailedException *e) { + } @catch (OFOpenItemFailedException *e) { /* Handle missing file like an empty file */ if ([e errNo] == ENOENT) return; @throw e;