@@ -23,12 +23,12 @@ #import "OFNotImplementedException.h" #import "common.h" @implementation OFAlreadyConnectedException -+ exceptionWithClass: (Class)class_ - socket: (OFTCPSocket*)socket ++ (instancetype)exceptionWithClass: (Class)class_ + socket: (OFTCPSocket*)socket { return [[[self alloc] initWithClass: class_ socket: socket] autorelease]; }