@@ -20,11 +20,11 @@ #import "OFString.h" @implementation OFChangeCurrentDirectoryPathFailedException @synthesize path = _path, errNo = _errNo; -+ (instancetype)exceptionWithPath: (OFString*)path ++ (instancetype)exceptionWithPath: (OFString *)path errNo: (int)errNo { return [[[self alloc] initWithPath: path errNo: errNo] autorelease]; } @@ -32,11 +32,11 @@ - init { OF_INVALID_INIT_METHOD } -- initWithPath: (OFString*)path +- initWithPath: (OFString *)path errNo: (int)errNo { self = [super init]; @try { @@ -55,12 +55,12 @@ [_path release]; [super dealloc]; } -- (OFString*)description +- (OFString *)description { return [OFString stringWithFormat: @"Failed to change the current directory path to %@: %@", _path, of_strerror(_errNo)]; } @end