@@ -29,11 +29,11 @@ #import "OFZIPArchive.h" #import "OFZIPArchiveEntry.h" #import "OFCreateDirectoryFailedException.h" #import "OFInvalidFormatException.h" -#import "OFOpenFileFailedException.h" +#import "OFOpenItemFailedException.h" #import "OFReadFailedException.h" #import "OFWriteFailedException.h" #import "autorelease.h" #import "macros.h" @@ -188,11 +188,11 @@ } @catch (OFCreateDirectoryFailedException *e) { [of_stderr writeFormat: @"\rFailed to create directory %@: %s\n", [e path], strerror([e errNo])]; _exitStatus = 1; - } @catch (OFOpenFileFailedException *e) { + } @catch (OFOpenItemFailedException *e) { [of_stderr writeFormat: @"\rFailed to open file %@: %s\n", [e path], strerror([e errNo])]; _exitStatus = 1; } @@ -210,11 +210,11 @@ { OFZIPArchive *archive = nil; @try { archive = [OFZIPArchive archiveWithPath: path]; - } @catch (OFOpenFileFailedException *e) { + } @catch (OFOpenItemFailedException *e) { [of_stderr writeFormat: @"Failed to open file %@: %s\n", [e path], strerror([e errNo])]; [OFApplication terminateWithStatus: 1]; } @catch (OFReadFailedException *e) { [of_stderr writeFormat: @"Failed to read file %@: %s\n",