@@ -40,11 +40,11 @@ #import "OFString.h" #import "OFSystemInfo.h" #import "OFURL.h" #import "OFURLHandler.h" -#import "OFChangeCurrentDirectoryPathFailedException.h" +#import "OFChangeCurrentDirectoryFailedException.h" #import "OFCopyItemFailedException.h" #import "OFCreateDirectoryFailedException.h" #import "OFGetCurrentDirectoryFailedException.h" #import "OFInitializationFailedException.h" #import "OFInvalidArgumentException.h" @@ -513,11 +513,11 @@ default: errNo = 0; break; } - @throw [OFChangeCurrentDirectoryPathFailedException + @throw [OFChangeCurrentDirectoryFailedException exceptionWithPath: path errNo: errNo]; } oldLock = CurrentDir(lock); @@ -538,11 +538,11 @@ # endif status = chdir( [path cStringWithEncoding: [OFLocale encoding]]); if (status != 0) - @throw [OFChangeCurrentDirectoryPathFailedException + @throw [OFChangeCurrentDirectoryFailedException exceptionWithPath: path errNo: errno]; # endif }