@@ -22,20 +22,20 @@ #import "OFString.h" @implementation OFConnectionFailedException @synthesize host = _host, port = _port, socket = _socket, errNo = _errNo; -+ (instancetype)exceptionWithHost: (OFString*)host ++ (instancetype)exceptionWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket { return [[[self alloc] initWithHost: host port: port socket: socket] autorelease]; } -+ (instancetype)exceptionWithHost: (OFString*)host ++ (instancetype)exceptionWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo { return [[[self alloc] initWithHost: host @@ -47,11 +47,11 @@ - init { OF_INVALID_INIT_METHOD } -- initWithHost: (OFString*)host +- initWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket { self = [super init]; @@ -65,11 +65,11 @@ } return self; } -- initWithHost: (OFString*)host +- initWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo { self = [super init]; @@ -93,11 +93,11 @@ [_socket release]; [super dealloc]; } -- (OFString*)description +- (OFString *)description { if (_errNo != 0) return [OFString stringWithFormat: @"A connection to %@ on port %" @PRIu16 @" could not be " @"established in socket of type %@: %@",