@@ -23,14 +23,14 @@ #import "OFNotImplementedException.h" #import "common.h" @implementation OFConnectionFailedException -+ exceptionWithClass: (Class)class_ - socket: (OFTCPSocket*)socket - host: (OFString*)host - port: (uint16_t)port ++ (instancetype)exceptionWithClass: (Class)class_ + socket: (OFTCPSocket*)socket + host: (OFString*)host + port: (uint16_t)port { return [[[self alloc] initWithClass: class_ socket: socket host: host port: port] autorelease];