@@ -21,11 +21,11 @@ #import "OFStream.h" @implementation OFGetOptionFailedException @synthesize stream = _stream, errNo = _errNo; -+ (instancetype)exceptionWithStream: (OFStream*)stream ++ (instancetype)exceptionWithStream: (OFStream *)stream errNo: (int)errNo { return [[[self alloc] initWithStream: stream errNo: errNo] autorelease]; } @@ -33,11 +33,11 @@ - init { OF_INVALID_INIT_METHOD } -- initWithStream: (OFStream*)stream +- initWithStream: (OFStream *)stream errNo: (int)errNo { self = [super init]; _stream = [stream retain]; @@ -51,12 +51,12 @@ [_stream release]; [super dealloc]; } -- (OFString*)description +- (OFString *)description { return [OFString stringWithFormat: @"Getting an option in a stream of type %@ failed: %@", [_stream class], of_strerror(_errNo)]; } @end